tordam

A library for peer discovery inside the Tor network
git clone https://git.parazyd.org/tordam
Log | Files | Refs | README | LICENSE

commit 6f363304ecb2b704f4e2d27ad1be2ee13328acbc
parent 2421884dde3fb9914e5e5dadc02d60b71032462f
Author: parazyd <parazyd@dyne.org>
Date:   Sat, 25 Nov 2017 14:52:59 +0100

forgot to assign a None to prx

Diffstat:
Mdamn.py | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/damn.py b/damn.py @@ -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),