diff options
author | ts <tsr@riseup.net> | 2019-01-03 23:51:56 -0500 |
---|---|---|
committer | ts <tsr@riseup.net> | 2019-01-03 23:51:56 -0500 |
commit | 820023341b53321de6a4c2b12a319235e2d5e87f (patch) | |
tree | c50a166f906eca2c96344fd9ef52ff9fe07c2647 | |
parent | 77727967709fa27551970aa512af33c9eece1e3a (diff) | |
download | cloudflare-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-x | globalist/globalist/__init__.py | 2 |
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 |