mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-26 03:41:57 -08:00
fix cache loading wrong entries from old cache files
This commit is contained in:
parent
ace0c78373
commit
67ea4eabc3
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,7 @@ def cached_data_for_file(subsection, title, filename, func):
|
|||
if ondisk_mtime > cached_mtime:
|
||||
entry = None
|
||||
|
||||
if not entry:
|
||||
if not entry or 'value' not in entry:
|
||||
value = func()
|
||||
if value is None:
|
||||
return None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue