Revert to POSIX path - win kindlegen seems to work

This commit is contained in:
Ciro Mattia Gonano
2013-03-05 17:31:34 +01:00
parent e7e87d03cd
commit 074e31cb2e
+4 -5
View File
@@ -189,11 +189,10 @@ def buildOPF(profile, dstdir, title, filelist, cover=None, righttoleft=False):
+ mt + "\"/>\n")
if (options.profile == 'K4' or options.profile == 'KHD') and splitCount > 0:
splitCountUsed = 1
while (splitCountUsed <= splitCount):
f.write("<item id=\"blank-page" + str(splitCountUsed) + "\" href=\""
+ os.path.join('Text', 'blank.html')
+ "\" media-type=\"application/xhtml+xml\"/>\n")
splitCountUsed += 1
while splitCountUsed <= splitCount:
f.write("<item id=\"blank-page" + str(splitCountUsed) +
"\" href=\"Text/blank.html\" media-type=\"application/xhtml+xml\"/>\n")
splitCountUsed += 1
f.write("</manifest>\n<spine toc=\"ncx\">\n")
splitCountUsed = 1
for entry in reflist: