Fix code style/flake8 issue

This commit is contained in:
Richard Schreiber
2024-03-19 13:56:43 +01:00
parent 4d00efb549
commit c92ca40026

View File

@@ -189,7 +189,7 @@ def create_thumbnail(source, size, formats=None):
# Yields better file sizes for photos
target_ext = 'jpeg'
quality = 95
elif source_ext =='.gif' or source_ext == '.png':
elif source_ext == '.gif' or source_ext == '.png':
target_ext = source_name.lower()[-3:]
quality = None
image_out.info = image.info