mirror of
https://github.com/ciromattia/kcc
synced 2026-07-07 13:35:36 +00:00
Fixed abort bug
This commit is contained in:
+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