1
0
mirror of https://github.com/ciromattia/kcc synced 2026-06-25 07:44:05 +00:00

epub input: invert spread shift (#1368)

This commit is contained in:
Alex Xu
2026-06-22 17:17:22 -07:00
committed by GitHub
parent afa9c7e7e6
commit a8b2c055bf
+1 -1
View File
@@ -400,7 +400,7 @@ def buildOPF(dstdir, title, filelist, originalpath, cover=None):
else:
f.write("</manifest>\n<spine page-progression-direction=\"ltr\" toc=\"ncx\">\n")
pageside = "left"
if originalpath.lower().endswith('.pdf'):
if originalpath.lower().endswith('.pdf') or originalpath.lower().endswith('.epub'):
if pageside == "right":
pageside = "left"
else: