summaryrefslogtreecommitdiff
path: root/poezio/windows/image.py
diff options
context:
space:
mode:
Diffstat (limited to 'poezio/windows/image.py')
-rw-r--r--poezio/windows/image.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/windows/image.py b/poezio/windows/image.py
index 819227c5..aeff7307 100644
--- a/poezio/windows/image.py
+++ b/poezio/windows/image.py
@@ -64,7 +64,7 @@ class ImageWin(Win):
original_width = width
size = self._compute_size(self._image.size, width, height)
image2 = self._image.resize(size, resample=Image.BILINEAR)
- data: bytes = image2.tobytes()
+ data = image2.tobytes()
width, height = size
start_y = (original_height - height // 2) // 2
start_x = (original_width - width) // 2