mirror of
https://github.com/ciromattia/kcc
synced 2025-12-15 18:56:28 +00:00
Don't force upscale on Kindle Fire (let users choose if they want it)
This commit is contained in:
@@ -656,8 +656,7 @@ def getOutputFilename(srcpath, wantedname, ext):
|
|||||||
elif os.path.isdir(srcpath):
|
elif os.path.isdir(srcpath):
|
||||||
filename = os.path.abspath(options.output) + "/" + os.path.basename(srcpath) + ext
|
filename = os.path.abspath(options.output) + "/" + os.path.basename(srcpath) + ext
|
||||||
else:
|
else:
|
||||||
filename = os.path.abspath(options.output) + "/" \
|
filename = os.path.abspath(options.output) + "/" + os.path.basename(os.path.splitext(srcpath)[0]) + ext
|
||||||
+ os.path.basename(os.path.splitext(srcpath)[0]) + ext
|
|
||||||
elif os.path.isdir(srcpath):
|
elif os.path.isdir(srcpath):
|
||||||
filename = srcpath + ext
|
filename = srcpath + ext
|
||||||
else:
|
else:
|
||||||
@@ -683,9 +682,7 @@ def checkOptions():
|
|||||||
or options.profile == 'KF' or options.profile == 'KFHD' or options.profile == 'KFHD8':
|
or options.profile == 'KF' or options.profile == 'KFHD' or options.profile == 'KFHD8':
|
||||||
options.nopanelviewhq = True
|
options.nopanelviewhq = True
|
||||||
if options.profile == 'KF' or options.profile == 'KFHD' or options.profile == 'KFHD8':
|
if options.profile == 'KF' or options.profile == 'KFHD' or options.profile == 'KFHD8':
|
||||||
options.upscale = True
|
|
||||||
options.forcecolor = True
|
options.forcecolor = True
|
||||||
options.forcepng = False
|
|
||||||
else:
|
else:
|
||||||
options.forcecolor = False
|
options.forcecolor = False
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user