From bc8f0802992e52ce5d983d5be88f17cae1ef97ee Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 20 Aug 2022 14:01:12 +0100 Subject: [PATCH] Change sequence of image extensions --- utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils.py b/utils.py index bdb40204a..ab115919b 100644 --- a/utils.py +++ b/utils.py @@ -496,7 +496,7 @@ def get_audio_extensions() -> []: def get_image_extensions() -> []: """Returns a list of the possible image file extensions """ - return ('png', 'jpg', 'jpeg', 'gif', 'webp', 'avif', 'svg', 'ico', 'jxl') + return ('jpg', 'jpeg', 'gif', 'webp', 'avif', 'svg', 'ico', 'jxl', 'png') def get_image_mime_type(image_filename: str) -> str: