Fixing for test 2. Electric Booglaoo
This commit is contained in:
parent
9745f2d256
commit
3aa410a2e6
|
@ -53,7 +53,7 @@ def send_tor_signal(signal: Signal) -> bool:
|
||||||
# If password doesn't work try with cookie.
|
# If password doesn't work try with cookie.
|
||||||
try:
|
try:
|
||||||
with Controller.from_port(port=9051) as c:
|
with Controller.from_port(port=9051) as c:
|
||||||
cookie_path="/var/lib/tor/control_auth_cookie"
|
cookie_path='/var/lib/tor/control_auth_cookie'
|
||||||
authenticate_cookie(c, cookie_path=cookie_path)
|
authenticate_cookie(c, cookie_path=cookie_path)
|
||||||
c.signal(signal)
|
c.signal(signal)
|
||||||
os.environ['TOR_AVAILABLE'] = '1'
|
os.environ['TOR_AVAILABLE'] = '1'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user