Convert port to string.

This commit is contained in:
ts 2019-01-03 23:51:56 -05:00
parent 7772796770
commit 820023341b
1 changed files with 1 additions and 1 deletions

View File

@ -248,7 +248,7 @@ def clone(config):
where += ".git"
how = ["--bare", "--mirror"]
cloneproc = subprocess.Popen(["torsocks", "-P", STATUS['socksport'], "git", "clone"] + how + [what, where])
cloneproc = subprocess.Popen(["torsocks", "-P", str(STATUS['socksport']), "git", "clone"] + how + [what, where])
if cloneproc.wait() != 0:
print ("Error cloning, exiting.")
return -1