Reverse get_image_detail_with_cache() bug fix

This commit is contained in:
Edward Betts 2020-01-07 21:59:20 +00:00
parent 76f6e3f994
commit d63e6b1218

2
app.py
View file

@ -724,7 +724,7 @@ def catalog_page():
title=title) title=title)
def get_image_detail_with_cache(items, cache_name, thumbwidth=None, refresh=False): 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: if thumbwidth is None:
thumbwidth = app.config['THUMBWIDTH'] thumbwidth = app.config['THUMBWIDTH']