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!)"""
|
(This is not checked upon each call!)"""
|
||||||
|
|
||||||
if filename is None:
|
if filename is None:
|
||||||
filenames = cache.keys()
|
filenames = list(cache.keys())
|
||||||
else:
|
else:
|
||||||
if filename in cache:
|
if filename in cache:
|
||||||
filenames = [filename]
|
filenames = [filename]
|
||||||
|
|
Loading…
Reference in New Issue