CC-3428: liquidsoap seems to have troubles with this file

-need to escape double quotes not single :P
This commit is contained in:
Martin Konecny 2012-04-11 11:21:51 -04:00
parent a09a31bc88
commit 92f057593e
1 changed files with 1 additions and 1 deletions

View File

@ -298,7 +298,7 @@ def test_file_playability(pathname):
"""
liquidsoap_found = subprocess.call("which liquidsoap", shell=True)
if liquidsoap_found == 0:
return_code = subprocess.call("liquidsoap -r \"%s\"" % pathname.replace("'", "\\'"), shell=True)
return_code = subprocess.call("liquidsoap -r \"%s\"" % pathname.replace('"', '\\"'), shell=True)
else:
return_code = 0