summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2017-10-07 19:05:23 +0100
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2017-10-07 19:05:23 +0100
commite8e1e1bbd1ff257672f4c67daa16e870f68e9294 (patch)
tree0e3e08849c730a6dff750f25985c839905a02d70
parent62344cb725c1779892eadce0402f747b798272ba (diff)
downloadpoezio-e8e1e1bbd1ff257672f4c67daa16e870f68e9294.tar.gz
poezio-e8e1e1bbd1ff257672f4c67daa16e870f68e9294.tar.bz2
poezio-e8e1e1bbd1ff257672f4c67daa16e870f68e9294.tar.xz
poezio-e8e1e1bbd1ff257672f4c67daa16e870f68e9294.zip
ImageWin: Remove some Python 3.6+ syntax.
-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