Convert port to string.
This commit is contained in:
parent
7772796770
commit
820023341b
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue