1
0
mirror of https://github.com/ciromattia/kcc synced 2025-12-13 01:36:27 +00:00

Kindle Scribe 1860 max width (#691)

* Kindle Scribe 1860 max width

* create kindle_scribe_azw3 var

* clean up code
This commit is contained in:
Alex Xu
2024-05-17 09:55:43 -07:00
committed by GitHub
parent 6bf662bea3
commit cbc1ed5db4
2 changed files with 8 additions and 7 deletions

View File

@@ -1098,10 +1098,6 @@ def checkOptions(options):
image.ProfileData.Profiles["Custom"] = newProfile
options.profile = "Custom"
options.profileData = image.ProfileData.Profiles[options.profile]
# kindle scribe conversion to mobi is limited in resolution by kindlegen, same with send to kindle and epub
if options.profile == 'KS' and (options.format == 'MOBI' or options.format == 'EPUB'):
options.profileData = list(options.profileData)
options.profileData[1] = (1440, 1920)
return options