mirror of
https://github.com/ciromattia/kcc
synced 2026-10-11 12:02:31 +00:00
epub input: invert spread shift (#1368)
This commit is contained in:
@@ -400,7 +400,7 @@ def buildOPF(dstdir, title, filelist, originalpath, cover=None):
|
|||||||
else:
|
else:
|
||||||
f.write("</manifest>\n<spine page-progression-direction=\"ltr\" toc=\"ncx\">\n")
|
f.write("</manifest>\n<spine page-progression-direction=\"ltr\" toc=\"ncx\">\n")
|
||||||
pageside = "left"
|
pageside = "left"
|
||||||
if originalpath.lower().endswith('.pdf'):
|
if originalpath.lower().endswith('.pdf') or originalpath.lower().endswith('.epub'):
|
||||||
if pageside == "right":
|
if pageside == "right":
|
||||||
pageside = "left"
|
pageside = "left"
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user