1
0
mirror of https://github.com/ciromattia/kcc synced 2025-12-13 01:36:27 +00:00

Stabilise multiprocessing on OSX

This commit is contained in:
Paweł Jastrzębski
2019-03-08 08:16:53 +01:00
parent a6f9e84251
commit 0b056a8fa8
9 changed files with 21 additions and 15 deletions

View File

@@ -23,9 +23,10 @@ if sys.version_info[0] != 3:
print('ERROR: This is Python 3 script!')
exit(1)
from multiprocessing import freeze_support
from multiprocessing import freeze_support, set_start_method
from kindlecomicconverter.startup import startC2E
if __name__ == "__main__":
set_start_method('spawn')
freeze_support()
startC2E()