Reverse get_image_detail_with_cache() bug fix
This commit is contained in:
parent
76f6e3f994
commit
d63e6b1218
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