mirror of https://gitlab.com/bashrc2/epicyon
Change sequence of image extensions
parent
f2917482db
commit
bc8f080299
2
utils.py
2
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:
|
||||
|
|
Loading…
Reference in New Issue