Fix another loop over a dict that may change... :-(
This commit is contained in:
parent
ce4a475efb
commit
f543348fff
|
@ -45,7 +45,7 @@ def checkcache(filename=None):
|
|||
(This is not checked upon each call!)"""
|
||||
|
||||
if filename is None:
|
||||
filenames = cache.keys()
|
||||
filenames = list(cache.keys())
|
||||
else:
|
||||
if filename in cache:
|
||||
filenames = [filename]
|
||||
|
|
Loading…
Reference in New Issue