black formatting
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user