fd
This commit is contained in:
parent
862fef0d5c
commit
85c22c83ec
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ def upload_ibb(file=None, resize=False):
|
||||||
def thumbnails(frames):
|
def thumbnails(frames):
|
||||||
for frame in frames:
|
for frame in frames:
|
||||||
thumbnail = frame.copy()
|
thumbnail = frame.copy()
|
||||||
: thumbnail.thumbnail(100, 100, IImage.ANTIALIAS)
|
thumbnail.thumbnail(100, 100, IImage.ANTIALIAS)
|
||||||
yield thumbnail
|
yield thumbnail
|
||||||
|
|
||||||
frames = thumbnails(frames)
|
frames = thumbnails(frames)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue