mirror of
https://github.com/ciromattia/kcc
synced 2025-12-13 01:36:27 +00:00
Using communicate instead of terminate (#459)
Fix kindlegen not clear temp files
This commit is contained in:
@@ -1224,7 +1224,8 @@ def makeMOBIWorker(item):
|
|||||||
if kindlegenErrorCode > 0:
|
if kindlegenErrorCode > 0:
|
||||||
break
|
break
|
||||||
if ":I1036: Mobi file built successfully" in line:
|
if ":I1036: Mobi file built successfully" in line:
|
||||||
output.terminate()
|
output.communicate()
|
||||||
|
break
|
||||||
else:
|
else:
|
||||||
# ERROR: EPUB too big
|
# ERROR: EPUB too big
|
||||||
kindlegenErrorCode = 23026
|
kindlegenErrorCode = 23026
|
||||||
|
|||||||
Reference in New Issue
Block a user