fix cache loading wrong entries from old cache files
This commit is contained in:
parent
ace0c78373
commit
67ea4eabc3
@ -84,7 +84,7 @@ def cached_data_for_file(subsection, title, filename, func):
|
|||||||
if ondisk_mtime > cached_mtime:
|
if ondisk_mtime > cached_mtime:
|
||||||
entry = None
|
entry = None
|
||||||
|
|
||||||
if not entry:
|
if not entry or 'value' not in entry:
|
||||||
value = func()
|
value = func()
|
||||||
if value is None:
|
if value is None:
|
||||||
return None
|
return None
|
||||||
|
Loading…
Reference in New Issue
Block a user