mirror of
https://github.com/ciromattia/kcc
synced 2026-10-18 07:22:33 +00:00
New "MOBI + EPUB (200MB)" output option (#866)
* initial fix * initial * working, but mobi is a bit too large * changed target size to 190mb to account for mobi conversion size increase * changed target size back to 195 * removed debugging print statements * add trailing comma --------- Co-authored-by: Alex Xu <alexkurosakimh3@gmail.com>
This commit is contained in:
@@ -1076,6 +1076,12 @@ def checkOptions(options):
|
||||
options.format = 'EPUB'
|
||||
if options.batchsplit != 2:
|
||||
options.batchsplit = 1
|
||||
if options.format == 'MOBI+EPUB-200MB':
|
||||
options.keep_epub = True
|
||||
options.targetsize = 195
|
||||
options.format = 'MOBI'
|
||||
if options.batchsplit != 2:
|
||||
options.batchsplit = 1
|
||||
if options.format == 'MOBI+EPUB':
|
||||
options.keep_epub = True
|
||||
options.format = 'MOBI'
|
||||
|
||||
Reference in New Issue
Block a user