Fixed abort bug
This commit is contained in:
1 parent
f8b29cd967
commit
877a859ef4
1 file changed
+2
-1
+2
-1
@@ -186,7 +186,8 @@ class WorkerThread(QtCore.QThread):
|
||||
self.emit(QtCore.SIGNAL("addMessage"), 'KCC failed to create EPUB!', 'error')
|
||||
if not self.conversionAlive:
|
||||
for item in outputPath:
|
||||
os.remove(item)
|
||||
if os.path.exists(item):
|
||||
os.remove(item)
|
||||
self.clean()
|
||||
return
|
||||
if not self.errors:
|
||||
|
||||
Reference in new issue
Block a user