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:
|
||||
break
|
||||
if ":I1036: Mobi file built successfully" in line:
|
||||
output.terminate()
|
||||
output.communicate()
|
||||
break
|
||||
else:
|
||||
# ERROR: EPUB too big
|
||||
kindlegenErrorCode = 23026
|
||||
|
||||
Reference in new issue
Block a user