summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorts <tsr@riseup.net>2019-01-03 23:51:56 -0500
committerts <tsr@riseup.net>2019-01-03 23:51:56 -0500
commit820023341b53321de6a4c2b12a319235e2d5e87f (patch)
treec50a166f906eca2c96344fd9ef52ff9fe07c2647
parent77727967709fa27551970aa512af33c9eece1e3a (diff)
downloadcloudflare-tor-820023341b53321de6a4c2b12a319235e2d5e87f.tar
cloudflare-tor-820023341b53321de6a4c2b12a319235e2d5e87f.tar.gz
cloudflare-tor-820023341b53321de6a4c2b12a319235e2d5e87f.tar.lz
cloudflare-tor-820023341b53321de6a4c2b12a319235e2d5e87f.tar.xz
cloudflare-tor-820023341b53321de6a4c2b12a319235e2d5e87f.zip
Convert port to string.
-rwxr-xr-xglobalist/globalist/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/globalist/globalist/__init__.py b/globalist/globalist/__init__.py
index 73c6fe38..d1326dc0 100755
--- a/globalist/globalist/__init__.py
+++ b/globalist/globalist/__init__.py
@@ -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