Skip to content
This repository was archived by the owner on Mar 2, 2022. It is now read-only.

Commit b5fa70a

Browse files
committed
delay by sending get_conf
1 parent e876277 commit b5fa70a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

bwscanner/attacher.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ def update_tor_config(tor, config):
140140
"""
141141
config_pairs = [(key, value) for key, value in config.items()]
142142
d = tor.protocol.set_conf(*itertools.chain.from_iterable(config_pairs))
143+
d.addCallback(lambda ok: tor.protocol.get_conf("OrPort"))
143144
return d.addCallback(lambda result: tor)
144145

145146

0 commit comments

Comments
 (0)