Using communicate instead of terminate (#459)
Fix kindlegen not clear temp files
This commit is contained in:
1 parent
4fa72780a1
commit
38b14fd734
1 file changed
+2
-1
@@ -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