From 820023341b53321de6a4c2b12a319235e2d5e87f Mon Sep 17 00:00:00 2001 From: ts Date: Thu, 3 Jan 2019 23:51:56 -0500 Subject: [PATCH] Convert port to string. --- globalist/globalist/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/globalist/globalist/__init__.py b/globalist/globalist/__init__.py index 73c6fe3..d1326dc 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