Skip to content

Commit

Permalink
Merge pull request #37 from Awarua-/fix/check_config-path-spaces
Browse files Browse the repository at this point in the history
Check_config, library paths with spaces fix
  • Loading branch information
wnielson authored Aug 30, 2016
2 parents ae41357 + 8109bca commit aa65321
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prt.py
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ def check_config():
for path in paths:
printf(" Path: '%s'\n", path)
proc = subprocess.Popen(["ssh", "%s@%s" % (server["user"], address),
"-p", server["port"], "stat", "--printf='%U %a'", path],
"-p", server["port"], "stat", "--printf='%U %a'", pipes.quote(path)],
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
proc.wait()

Expand Down

0 comments on commit aa65321

Please sign in to comment.