mirror of
https://github.com/ciromattia/kcc
synced 2026-01-02 11:29:33 +00:00
Don't stop conversion if KindleGen return only warnings
This commit is contained in:
@@ -174,7 +174,7 @@ class WorkerThread(QtCore.QThread):
|
||||
retcode = call('kindlegen -verbose "' + outputPath + '"', shell=True)
|
||||
except:
|
||||
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"), 'Removing SRCS header...', 'info')
|
||||
os.remove(outputPath)
|
||||
|
||||
Reference in New Issue
Block a user