diff options
author | Paweł Jastrzębski <pawelj@iosphe.re> | 2017-04-06 15:24:03 +0200 |
---|---|---|
committer | Paweł Jastrzębski <pawelj@iosphe.re> | 2017-04-06 15:24:03 +0200 |
commit | cc3da40fd745c6b7e5952d78bbdd83062d54ccd4 (patch) | |
tree | d59c0cedea228bf5d223ce79a029f14adc395686 /kindlecomicconverter | |
parent | Tweaked webtoon splitter (diff) | |
download | kcc-cc3da40fd745c6b7e5952d78bbdd83062d54ccd4.tar.gz kcc-cc3da40fd745c6b7e5952d78bbdd83062d54ccd4.tar.bz2 kcc-cc3da40fd745c6b7e5952d78bbdd83062d54ccd4.zip |
Fixed page splitter
Diffstat (limited to 'kindlecomicconverter')
-rwxr-xr-x | kindlecomicconverter/image.py | 2 |
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: |