ImageWin: Remove some Python 3.6+ syntax.
This commit is contained in:
parent
62344cb725
commit
e8e1e1bbd1
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue