Bug fix get_image_detail_with_cache()

This commit is contained in:
Edward Betts 2020-01-07 21:57:05 +00:00
parent 8eecad0f9e
commit 76f6e3f994

2
app.py
View file

@ -724,7 +724,7 @@ def catalog_page():
title=title)
def get_image_detail_with_cache(items, cache_name, thumbwidth=None, refresh=False):
filenames = [cur.image_filename() for cur in items]
filenames = [cur['image_filename'] for cur in items]
if thumbwidth is None:
thumbwidth = app.config['THUMBWIDTH']