mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Temporary workaround for zipimport threading bug affecting metadata downloads on windows
This commit is contained in:
parent
01c090592a
commit
c13750458c
@ -393,6 +393,10 @@ def identify(log, abort, # {{{
|
|||||||
log('The log from individual plugins is below')
|
log('The log from individual plugins is below')
|
||||||
|
|
||||||
workers = [Worker(p, kwargs, abort) for p in plugins]
|
workers = [Worker(p, kwargs, abort) for p in plugins]
|
||||||
|
# Ensure Browser is imported to workaround threading bugs in zipimport on
|
||||||
|
# Windows
|
||||||
|
from calibre import browser
|
||||||
|
browser()
|
||||||
for w in workers:
|
for w in workers:
|
||||||
w.start()
|
w.start()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user