er, relative links to audio files from inside tapes/ dir
This commit is contained in:
parent
02252e87ee
commit
18edc8849b
|
@ -29,7 +29,7 @@ def do():
|
||||||
print audioHtml
|
print audioHtml
|
||||||
indexHtml += audioHtml
|
indexHtml += audioHtml
|
||||||
out = codecs.open(outfile, mode="w", encoding="utf-8")
|
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()
|
out.close()
|
||||||
counter += 1
|
counter += 1
|
||||||
indexFile = codecs.open("index.html", mode="w", encoding="utf-8")
|
indexFile = codecs.open("index.html", mode="w", encoding="utf-8")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user