mirror of
https://github.com/ciromattia/kcc
synced 2025-12-13 09:46:25 +00:00
Small bugfix
This commit is contained in:
@@ -328,9 +328,10 @@ class WorkerThread(QtCore.QThread):
|
|||||||
'for more details.', 'error', False)
|
'for more details.', 'error', False)
|
||||||
MW.addTrayMessage.emit('Error during conversion!', 'Critical')
|
MW.addTrayMessage.emit('Error during conversion!', 'Critical')
|
||||||
if not self.conversionAlive:
|
if not self.conversionAlive:
|
||||||
for item in outputPath:
|
if 'outputPath' in locals():
|
||||||
if os.path.exists(item):
|
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:
|
||||||
|
|||||||
Reference in New Issue
Block a user