black coding style

This commit is contained in:
2022-01-07 11:21:22 +00:00
parent c67bab0201
commit 070af0a836

View File

@@ -17,7 +17,9 @@ def index(request):
albums = deque(Album.objects.all().order_by("-event_date"))
else:
# show only PUBLIC albums.
albums = deque(Album.objects.filter(status=Album.PUBLIC).order_by("-event_date"))
albums = deque(
Album.objects.filter(status=Album.PUBLIC).order_by("-event_date")
)
for album in list(albums):
img_list = get_image_list(album.folder_name)