Skip to content

Commit

Permalink
Update prt.py
Browse files Browse the repository at this point in the history
Change method of surrounding path with quotes
  • Loading branch information
Awarua- authored Aug 30, 2016
1 parent 049f585 commit 8109bca
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 8109bca

Please sign in to comment.