mirror of
https://github.com/ciromattia/kcc
synced 2026-06-12 01:20:54 +00:00
Don't stop conversion if KindleGen return only warnings
This commit is contained in:
+1
-1
@@ -174,7 +174,7 @@ class WorkerThread(QtCore.QThread):
|
|||||||
retcode = call('kindlegen -verbose "' + outputPath + '"', shell=True)
|
retcode = call('kindlegen -verbose "' + outputPath + '"', shell=True)
|
||||||
except:
|
except:
|
||||||
continue
|
continue
|
||||||
if retcode == 0:
|
if retcode == 0 or retcode == 1:
|
||||||
self.emit(QtCore.SIGNAL("addMessage"), 'Creating MOBI file... Done!', 'info', True)
|
self.emit(QtCore.SIGNAL("addMessage"), 'Creating MOBI file... Done!', 'info', True)
|
||||||
self.emit(QtCore.SIGNAL("addMessage"), 'Removing SRCS header...', 'info')
|
self.emit(QtCore.SIGNAL("addMessage"), 'Removing SRCS header...', 'info')
|
||||||
os.remove(outputPath)
|
os.remove(outputPath)
|
||||||
|
|||||||
Reference in New Issue
Block a user