1
0
mirror of https://github.com/ciromattia/kcc synced 2025-12-13 17:56:30 +00:00

Don't force upscale on Kindle Fire (let users choose if they want it)

This commit is contained in:
Ciro Mattia Gonano
2013-04-30 10:27:04 +02:00
parent 7e191c0be5
commit a6eb3936e4

View File

@@ -656,8 +656,7 @@ def getOutputFilename(srcpath, wantedname, ext):
elif os.path.isdir(srcpath):
filename = os.path.abspath(options.output) + "/" + os.path.basename(srcpath) + ext
else:
filename = os.path.abspath(options.output) + "/" \
+ os.path.basename(os.path.splitext(srcpath)[0]) + ext
filename = os.path.abspath(options.output) + "/" + os.path.basename(os.path.splitext(srcpath)[0]) + ext
elif os.path.isdir(srcpath):
filename = srcpath + ext
else:
@@ -683,9 +682,7 @@ def checkOptions():
or options.profile == 'KF' or options.profile == 'KFHD' or options.profile == 'KFHD8':
options.nopanelviewhq = True
if options.profile == 'KF' or options.profile == 'KFHD' or options.profile == 'KFHD8':
options.upscale = True
options.forcecolor = True
options.forcepng = False
else:
options.forcecolor = False