black formatting

This commit is contained in:
2024-01-30 17:31:33 +00:00
parent a23321a98b
commit d1c235f7cb
22 changed files with 44 additions and 136 deletions

View File

@@ -21,9 +21,7 @@ def get_image_list(folder_name):
if ext.lower() not in valid_images:
continue
thumb_path = os.path.join(
settings.MEDIA_ROOT + gallery_thumb_path, folder_name
)
thumb_path = os.path.join(settings.MEDIA_ROOT + gallery_thumb_path, folder_name)
thumb_file_path = os.path.join(thumb_path, f"thumb_{img}")
if os.path.exists(thumb_file_path):
thumb_url = os.path.join(