mirror of
https://github.com/beetbox/beets.git
synced 2026-01-10 01:50:34 +01:00
Shell-escape sys.executable
sys.executable needs to be shell-escaped on windows.
This commit is contained in:
parent
42b4e54391
commit
44ddd2e8f5
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ class TestHelper(helper.TestHelper):
|
|||
|
||||
# A Python script that copies the file and appends a tag.
|
||||
stub = os.path.join(_common.RSRC, b'convert_stub.py').decode('utf-8')
|
||||
return u"{} '{}' $source $dest {}".format(sys.executable, stub, tag)
|
||||
return u"'{}' '{}' $source $dest {}".format(sys.executable, stub, tag)
|
||||
|
||||
def assertFileTag(self, path, tag): # noqa
|
||||
"""Assert that the path is a file and the files content ends with `tag`.
|
||||
|
|
|
|||
Loading…
Reference in a new issue