about summary refs log tree commit diff
path: root/kindlecomicconverter/image.py
diff options
context:
space:
mode:
authorPaweł Jastrzębski <pawelj@iosphe.re>2017-04-06 15:24:03 +0200
committerPaweł Jastrzębski <pawelj@iosphe.re>2017-04-06 15:24:03 +0200
commitcc3da40fd745c6b7e5952d78bbdd83062d54ccd4 (patch)
treed59c0cedea228bf5d223ce79a029f14adc395686 /kindlecomicconverter/image.py
parentTweaked webtoon splitter (diff)
downloadkcc-cc3da40fd745c6b7e5952d78bbdd83062d54ccd4.tar.gz
kcc-cc3da40fd745c6b7e5952d78bbdd83062d54ccd4.tar.bz2
kcc-cc3da40fd745c6b7e5952d78bbdd83062d54ccd4.zip
Fixed page splitter
Diffstat (limited to 'kindlecomicconverter/image.py')
-rwxr-xr-xkindlecomicconverter/image.py2
1 files changed, 1 insertions, 1 deletions
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: