mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
Fix code style/flake8 issue
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user