This commit is contained in:
Kovid Goyal 2019-07-23 12:06:19 +05:30
commit 9210902218
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -116,7 +116,7 @@ def find_icons():
with open(cache_file, 'rb') as f: with open(cache_file, 'rb') as f:
cache = f.read() cache = f.read()
cache = msgpack_loads(cache) cache = msgpack_loads(cache)
mtimes, cache = cache['mtimes'], cache['data'] mtimes, cache = defaultdict(int, cache['mtimes']), defaultdict(dict, cache['data'])
except Exception: except Exception:
mtimes, cache = defaultdict(int), defaultdict(dict) mtimes, cache = defaultdict(int), defaultdict(dict)