Bug fix get_image_detail_with_cache()
This commit is contained in:
parent
8eecad0f9e
commit
76f6e3f994
2
app.py
2
app.py
|
@ -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']
|
||||||
|
|
Loading…
Reference in a new issue