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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user