mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-30 22:25:23 +01:00
...
This commit is contained in:
parent
03ea489695
commit
9a1e55153b
1 changed files with 3 additions and 1 deletions
|
|
@ -208,7 +208,9 @@ def __init__(self, opts, log, container_root):
|
|||
self.opts = opts
|
||||
self.workers = []
|
||||
self.max_workers = detect_ncpus()
|
||||
if not iswindows:
|
||||
if iswindows:
|
||||
self.original_signal_handlers = {}
|
||||
else:
|
||||
self.original_signal_handlers = setup_unix_signals(self)
|
||||
|
||||
def create_worker(self):
|
||||
|
|
|
|||
Loading…
Reference in a new issue