From 6738b70487889de96ebc5f47a36e6e6931a667ea Mon Sep 17 00:00:00 2001 From: Alex Xu Date: Fri, 7 Jun 2024 09:05:38 -0700 Subject: [PATCH] don't display upscale warning on kindle scribe --- kindlecomicconverter/comic2ebook.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kindlecomicconverter/comic2ebook.py b/kindlecomicconverter/comic2ebook.py index 892dcae..dc673b4 100755 --- a/kindlecomicconverter/comic2ebook.py +++ b/kindlecomicconverter/comic2ebook.py @@ -906,7 +906,7 @@ def detectCorruption(tmppath, orgpath): GUI.addMessage.emit('Source files are probably created by KCC. The second conversion will decrease quality.' , 'warning', False) GUI.addMessage.emit('', '', False) - if imageSmaller > imageNumber * 0.25 and not options.upscale and not options.stretch: + if imageSmaller > imageNumber * 0.25 and not options.upscale and not options.stretch and options.profile != 'KS': print("WARNING: More than 25% of images are smaller than target device resolution. " "Consider enabling stretching or upscaling to improve readability.") if GUI: