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"):