mirror of
https://github.com/ciromattia/kcc
synced 2026-10-12 12:32:32 +00:00
Fixed problems with HQ mode (close #77)
This commit is contained in:
+6
-4
@@ -1084,12 +1084,14 @@ def checkOptions():
|
||||
options.quality = 0
|
||||
options.panelview = False
|
||||
# Disable all Kindle features for other e-readers
|
||||
if options.profile == 'OTHER' or 'Ko' in options.profile:
|
||||
if options.profile == 'OTHER':
|
||||
options.panelview = False
|
||||
options.quality = 0
|
||||
# Enable 150% zoom for all non-HD Kobo models
|
||||
#if 'Ko' in options.profile and options.profile != "KoAHD":
|
||||
#options.quality = 1
|
||||
if 'Ko' in options.profile:
|
||||
options.panelview = False
|
||||
# Kobo models can't use ultra quality mode
|
||||
if options.quality == 2:
|
||||
options.quality = 1
|
||||
# Kindle for Android profile require target resolution.
|
||||
if options.profile == 'KFA' and (options.customwidth == 0 or options.customheight == 0):
|
||||
print "ERROR: Kindle for Android profile require --customwidth and --customheight options!"
|
||||
|
||||
Reference in New Issue
Block a user