ImageWin: Remove some Python 3.6+ syntax.

This commit is contained in:
Emmanuel Gil Peyrot 2017-10-07 19:05:23 +01:00
parent 62344cb725
commit e8e1e1bbd1

View file

@ -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