mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Merge branch 'keyerror' of https://github.com/eli-schwartz/calibre
This commit is contained in:
commit
9210902218
@ -116,7 +116,7 @@ def find_icons():
|
||||
with open(cache_file, 'rb') as f:
|
||||
cache = f.read()
|
||||
cache = msgpack_loads(cache)
|
||||
mtimes, cache = cache['mtimes'], cache['data']
|
||||
mtimes, cache = defaultdict(int, cache['mtimes']), defaultdict(dict, cache['data'])
|
||||
except Exception:
|
||||
mtimes, cache = defaultdict(int), defaultdict(dict)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user