added hard coded cwd for the cgi

master
Michael Murtaugh 8 years ago
parent b1cbf6efd4
commit 0c624b5070

@ -7,7 +7,7 @@ import subprocess
f = cgi.FieldStorage()
p = f.getvalue("p", "Bump.mp3")
p = os.path.join("voice", p)
out = subprocess.check_output(["mpv", p], stderr=subprocess.STDOUT)
out = subprocess.check_output(["mpv", p], cwd="/media/floppy/noweb", stderr=subprocess.STDOUT)
# print "Location: /index.html"
# print

Loading…
Cancel
Save