mirror of
https://github.com/ivuorinen/aeonview.git
synced 2026-02-11 10:46:31 +00:00
chore(lint): more linting fixes
This commit is contained in:
@@ -365,12 +365,12 @@ class AeonViewHelpers:
|
||||
|
||||
if url.endswith(".png"):
|
||||
return ".png"
|
||||
elif url.endswith(".gif"):
|
||||
if url.endswith(".gif"):
|
||||
return ".gif"
|
||||
elif url.endswith(".webp"):
|
||||
if url.endswith(".webp"):
|
||||
return ".webp"
|
||||
else:
|
||||
return ".jpg"
|
||||
|
||||
return ".jpg"
|
||||
|
||||
@staticmethod
|
||||
def setup_logger(verbose: bool):
|
||||
|
||||
Reference in New Issue
Block a user