Skip to content

Commit

Permalink
fix left to right comic spread alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
axu2 committed Dec 13, 2024
1 parent a71523b commit e1a3181
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions kindlecomicconverter/comic2ebook.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,10 +400,10 @@ def pageSpreadProperty(pageside):
"<itemref idref=\"page_%s\" %s/>\n" % (entry,
pageSpreadProperty(pageside))
)
if pageside == "right":
pageside = "left"
else:
pageside = "right"
if pageside == "right":
pageside = "left"
else:
pageside = "right"
else:
for entry in reflist:
f.write("<itemref idref=\"page_" + entry + "\"/>\n")
Expand Down

0 comments on commit e1a3181

Please sign in to comment.