black files

This commit is contained in:
2022-04-19 15:18:58 +00:00
parent 1f33c8165e
commit 89ff6789f2
2 changed files with 4 additions and 4 deletions

View File

@@ -50,7 +50,7 @@ def get_image_list(folder_name):
def get_folder_list():
if os.path.exists(settings.MEDIA_ROOT + "/" + gallery_path):
return next(os.walk(settings.MEDIA_ROOT + "/" + gallery_path))[1]
return None