mirror of
https://github.com/ciromattia/kcc
synced 2025-12-13 09:46:25 +00:00
Limit is slightly higher
This commit is contained in:
@@ -206,10 +206,10 @@ class MainWindow:
|
||||
continue
|
||||
if self.options['Aepub_only'].get() == 0:
|
||||
try:
|
||||
if os.path.getsize(epub_path) > 314572800:
|
||||
# do not call kindlegen if source is bigger than 300MB
|
||||
if os.path.getsize(epub_path) > 335544320:
|
||||
# do not call kindlegen if source is bigger than 320MB
|
||||
tkMessageBox.showwarning('KindleGen Warning',
|
||||
"ePub file %s is bigger than 300MB, not suitable for kindlegen" %
|
||||
"ePub file %s is bigger than 320MB, not suitable for kindlegen" %
|
||||
epub_path)
|
||||
continue
|
||||
retcode = call("kindlegen \"" + epub_path + "\"", shell=True)
|
||||
|
||||
Reference in New Issue
Block a user