1
0
mirror of https://github.com/ciromattia/kcc synced 2025-12-21 05:31:49 +00:00

Fixed abort bug

This commit is contained in:
Paweł Jastrzębski
2013-08-13 09:33:46 +02:00
parent f8b29cd967
commit 877a859ef4

View File

@@ -186,7 +186,8 @@ class WorkerThread(QtCore.QThread):
self.emit(QtCore.SIGNAL("addMessage"), 'KCC failed to create EPUB!', 'error') self.emit(QtCore.SIGNAL("addMessage"), 'KCC failed to create EPUB!', 'error')
if not self.conversionAlive: if not self.conversionAlive:
for item in outputPath: for item in outputPath:
os.remove(item) if os.path.exists(item):
os.remove(item)
self.clean() self.clean()
return return
if not self.errors: if not self.errors: