diff --git a/kcc/comic2ebook.py b/kcc/comic2ebook.py index 246b565..48ff053 100755 --- a/kcc/comic2ebook.py +++ b/kcc/comic2ebook.py @@ -81,65 +81,65 @@ def buildHTML(path, imgfile): if options.panelview: if rotate: if options.righttoleft: - f.writelines(["
\n", - "\n", - "\n", - "\n" - ]) + order = [1, 3, 2, 4] else: - f.writelines(["\n", - "\n", - "\n", - "\n" - ]) + order = [2, 4, 1, 3] else: if options.righttoleft: - f.writelines(["\n", - "\n", - "\n", - "\n" - ]) + order = [2, 1, 4, 3] else: - f.writelines(["\n", - "\n", - "\n", - "\n" - ]) + order = [1, 2, 3, 4] + f.writelines(["\n", + "\n", + "\n", + "\n" + ]) if options.quality == 2: imgfilepv = string.split(imgfile, ".") + imgfilepv[0] = imgfilepv[0].split("_kccx")[0] imgfilepv[0] += "_kcchq" imgfilepv = string.join(imgfilepv, ".") else: imgfilepv = imgfile - f.writelines(["