0
0
mirror of https://git.sdf.org/deCloudflare/deCloudflare/ synced 2024-06-21 03:49:19 +00:00

Convert port to string.

This commit is contained in:
ts 2019-01-03 23:51:56 -05:00
parent 7772796770
commit 820023341b

View File

@ -248,7 +248,7 @@ def clone(config):
where += ".git" where += ".git"
how = ["--bare", "--mirror"] 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: if cloneproc.wait() != 0:
print ("Error cloning, exiting.") print ("Error cloning, exiting.")
return -1 return -1