diff --git a/files/helpers/images.py b/files/helpers/images.py index 15978e104..af124a7fe 100644 --- a/files/helpers/images.py +++ b/files/helpers/images.py @@ -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)