mirror of
https://github.com/ciromattia/kcc
synced 2026-09-22 10:47:08 +00:00
add error check for filepath length check
This commit is contained in:
@@ -424,6 +424,8 @@ class WorkerThread(QThread):
|
||||
MW.addMessage.emit('Created EPUB file was too big.', 'error', False)
|
||||
MW.addMessage.emit('EPUB file: ' + str(epubSize) + 'MB. Supported size: ~350MB.', 'error',
|
||||
False)
|
||||
if self.kindlegenErrorCode[0] == 3221226505:
|
||||
MW.addMessage.emit('Unknown Windows error. Possibly filepath too long?', 'error', False)
|
||||
else:
|
||||
for item in outputPath:
|
||||
if GUI.targetDirectory and GUI.targetDirectory != os.path.dirname(item):
|
||||
|
||||
Reference in New Issue
Block a user