This commit is contained in:
Aevann1 2021-09-13 18:58:41 +02:00
parent 862fef0d5c
commit 85c22c83ec

View file

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