From cc3da40fd745c6b7e5952d78bbdd83062d54ccd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Jastrz=C4=99bski?= Date: Thu, 6 Apr 2017 15:24:03 +0200 Subject: [PATCH] Fixed page splitter --- kindlecomicconverter/image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kindlecomicconverter/image.py b/kindlecomicconverter/image.py index 5538d88..a380648 100755 --- a/kindlecomicconverter/image.py +++ b/kindlecomicconverter/image.py @@ -120,7 +120,7 @@ class ComicPageParser: width, height = self.image.size dstwidth, dstheight = self.size if (width > height) != (dstwidth > dstheight) and width <= dstheight and height <= dstwidth \ - and not self.opt.webtoon: + and not self.opt.webtoon and self.opt.splitter == 1: self.payload.append(['R', self.source, self.image.rotate(90, Image.BICUBIC, True), self.color, self.fill]) elif (width > height) != (dstwidth > dstheight) and not self.opt.webtoon: if self.opt.splitter != 1: