diff options
author | Ciro Mattia Gonano <ciromattia@gmail.com> | 2013-03-05 12:48:22 +0100 |
---|---|---|
committer | Ciro Mattia Gonano <ciromattia@gmail.com> | 2013-03-05 12:48:22 +0100 |
commit | ef8469add42f736d3bb19fc1969815eed0752594 (patch) | |
tree | fd5a9c6cb5ad8144802c0881488411238e7759a5 | |
parent | Merge from lanscape branch (diff) | |
download | kcc-ef8469add42f736d3bb19fc1969815eed0752594.tar.gz kcc-ef8469add42f736d3bb19fc1969815eed0752594.tar.bz2 kcc-ef8469add42f736d3bb19fc1969815eed0752594.zip |
Fix path for blank page
-rwxr-xr-x | kcc/comic2ebook.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/kcc/comic2ebook.py b/kcc/comic2ebook.py index 6f507d9..d34969f 100755 --- a/kcc/comic2ebook.py +++ b/kcc/comic2ebook.py @@ -188,7 +188,9 @@ def buildOPF(profile, dstdir, title, filelist, cover=None, righttoleft=False): f.write("<item id=\"img_" + uniqueid + "\" href=\"" + os.path.join(folder, path[1]) + "\" media-type=\"" + mt + "\"/>\n") if (options.profile == 'K4' or options.profile == 'KHD') and splittedSomething: - f.write("<item id=\"blank-page\" href=\"Text\\blank.html\" media-type=\"application/xhtml+xml\"/>\n") + f.write("<item id=\"blank-page\" href=\"" + + os.path.join('Text', 'blank.html') + + " media-type=\"application/xhtml+xml\"/>\n") f.write("</manifest>\n<spine toc=\"ncx\">\n") for entry in reflist: if entry.endswith("-1"): |