about summary refs log tree commit diff
path: root/kindlecomicconverter
diff options
context:
space:
mode:
authorPaweł Jastrzębski <pawelj@iosphe.re>2018-03-10 08:26:55 +0100
committerPaweł Jastrzębski <pawelj@iosphe.re>2018-03-10 08:26:55 +0100
commit33ef8275c30b8ddb531f9013595c9a94868c5655 (patch)
tree418438b01ac7b1fac8fe94d8d9b98596e5dfb73d /kindlecomicconverter
parentFixed unrar detection (diff)
downloadkcc-33ef8275c30b8ddb531f9013595c9a94868c5655.tar.gz
kcc-33ef8275c30b8ddb531f9013595c9a94868c5655.tar.bz2
kcc-33ef8275c30b8ddb531f9013595c9a94868c5655.zip
Fixed non-Kindle EPUB ouput (close #262)
Diffstat (limited to 'kindlecomicconverter')
-rwxr-xr-xkindlecomicconverter/comic2ebook.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kindlecomicconverter/comic2ebook.py b/kindlecomicconverter/comic2ebook.py
index 0f50519..b560825 100755
--- a/kindlecomicconverter/comic2ebook.py
+++ b/kindlecomicconverter/comic2ebook.py
@@ -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'))