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