tforgot to assign a None to prx - tordam - A library for peer discovery inside the Tor network
HTML git clone https://git.parazyd.org/tordam
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 6f363304ecb2b704f4e2d27ad1be2ee13328acbc
DIR parent 2421884dde3fb9914e5e5dadc02d60b71032462f
HTML Author: parazyd <parazyd@dyne.org>
Date: Sat, 25 Nov 2017 14:52:59 +0100
forgot to assign a None to prx
Diffstat:
M damn.py | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
DIR diff --git a/damn.py b/damn.py
t@@ -76,6 +76,7 @@ def main():
]
for i in directories:
+ prx = None
if i.endswith('.onion'):
prx = {'http': 'socks5h://127.0.0.1:9050'}
resp = requests.post(join(i, 'post'), data=json.dumps(payload),