er, relative links to audio files from inside tapes/ dir

This commit is contained in:
Sanj 2011-09-05 17:33:47 +05:30
parent 02252e87ee
commit 18edc8849b

View File

@ -29,7 +29,7 @@ def do():
print audioHtml
indexHtml += audioHtml
out = codecs.open(outfile, mode="w", encoding="utf-8")
out.write("<audio controls='controls' src='wav/%s'></audio><br /><br /><pre>%s</pre>" % (audioFile, fullTxt,))
out.write("<audio controls='controls' src='../wav/%s'></audio><br /><br /><pre>%s</pre>" % (audioFile, fullTxt,))
out.close()
counter += 1
indexFile = codecs.open("index.html", mode="w", encoding="utf-8")