From 0398d7bf939acbe0f63620746bc972f8b47458bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Jastrz=C4=99bski?= Date: Mon, 4 Mar 2013 16:14:11 +0100 Subject: [PATCH] Don't create blank-page records for older Kindle. Kindle without Landscape mode show blank-page records incorrectly. --- kcc/comic2ebook.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kcc/comic2ebook.py b/kcc/comic2ebook.py index 514575c..827b5af 100755 --- a/kcc/comic2ebook.py +++ b/kcc/comic2ebook.py @@ -196,7 +196,7 @@ def buildOPF(profile, dstdir, title, filelist, cover=None, righttoleft=False): f.write("\n\n") for entry in reflist: if entry.endswith("-1"): - if (righttoleft and facing == 'left') or (not righttoleft and facing == 'right'): + if ((righttoleft and facing == 'left') or (not righttoleft and facing == 'right')) and (options.profile == 'K4' or options.profile == 'KHD'): f.write("\n") f.write("\n") elif entry.endswith("-2"):