mirror of
https://codeberg.org/crimeflare/cloudflare-tor
synced 2025-01-11 05:58:20 +00:00
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
Block a user