From 820023341b53321de6a4c2b12a319235e2d5e87f Mon Sep 17 00:00:00 2001 From: ts Date: Thu, 3 Jan 2019 23:51:56 -0500 Subject: Convert port to string. --- globalist/globalist/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'globalist') 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 -- cgit v1.2.3