Commit e8e1e1bb authored by Link Mauve's avatar Link Mauve

ImageWin: Remove some Python 3.6+ syntax.

parent 62344cb7
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment