enclose paths in double quotes

This commit is contained in:
Ondřej Samohel 2020-05-07 15:22:08 +02:00
parent 1afabb00e2
commit 9a7bd4aa60
No known key found for this signature in database
GPG key ID: 8A29C663C672C2B7

View file

@ -80,7 +80,7 @@ def __main__():
args = [
os.path.join(pype_root, pype_command),
"publish",
" ".join(paths)
" ".join(['"{}"'.format(p) for p in paths])
]
print("Pype command: {}".format(" ".join(args)))