From e8e1e1bbd1ff257672f4c67daa16e870f68e9294 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Sat, 7 Oct 2017 19:05:23 +0100 Subject: =?UTF-8?q?ImageWin:=20Remove=20some=20Python=C2=A03.6+=20syntax.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- poezio/windows/image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'poezio/windows') 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 -- cgit v1.2.3