master
Aevann1 2021-09-15 02:46:25 +02:00
parent 1cb9d911e7
commit 4a656c1454
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ def upload_ibb(file=None, resize=False):
def thumbnails(frames):
for frame in frames:
thumbnail = frame.copy()
thumbnail.thumbnail(size, IImage.ANTIALIAS)
thumbnail.thumbnail(size)
yield thumbnail
frames = thumbnails(frames)