mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 02:34:06 -04:00
...
This commit is contained in:
parent
843e7f53ba
commit
7d9ca9dda7
@ -97,8 +97,12 @@ class CoverCache(Thread): # {{{
|
||||
import traceback
|
||||
traceback.print_exc()
|
||||
continue
|
||||
try:
|
||||
with self.lock:
|
||||
self.cache[id_] = img
|
||||
except:
|
||||
# Happens during interpreter shutdown
|
||||
break
|
||||
|
||||
def set_cache(self, ids):
|
||||
with self.lock:
|
||||
|
Loading…
x
Reference in New Issue
Block a user