1
0
mirror of https://github.com/ciromattia/kcc synced 2025-12-13 01:36:27 +00:00

Fixed non-Kindle EPUB ouput (close #262)

This commit is contained in:
Paweł Jastrzębski
2018-03-10 08:26:55 +01:00
parent eec2099515
commit 33ef8275c3

View File

@@ -374,7 +374,7 @@ def buildOPF(dstdir, title, filelist, cover=None):
pageside = "right"
else:
for entry in reflist:
f.write("<itemref idref=\"page_" + entry + "\">\n")
f.write("<itemref idref=\"page_" + entry + "\"/>\n")
f.write("</spine>\n</package>\n")
f.close()
os.mkdir(os.path.join(dstdir, 'META-INF'))