1
0
mirror of https://github.com/ciromattia/kcc synced 2026-07-04 03:55:28 +00:00

Using communicate instead of terminate (#459)

Fix kindlegen not clear temp files
This commit is contained in:
catsout
2023-01-21 18:00:04 +08:00
committed by GitHub
parent 4fa72780a1
commit 38b14fd734
+2 -1
View File
@@ -1224,7 +1224,8 @@ def makeMOBIWorker(item):
if kindlegenErrorCode > 0:
break
if ":I1036: Mobi file built successfully" in line:
output.terminate()
output.communicate()
break
else:
# ERROR: EPUB too big
kindlegenErrorCode = 23026