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