From 5f9d21ebfd1bb41efcaf37cdfa7aa9a2048c7a6c Mon Sep 17 00:00:00 2001 From: MadcowOG Date: Tue, 3 May 2022 20:17:33 -0700 Subject: [PATCH] Another one --- app/request.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/request.py b/app/request.py index 2130991..746c831 100644 --- a/app/request.py +++ b/app/request.py @@ -53,7 +53,7 @@ def send_tor_signal(signal: Signal) -> bool: # If password doesn't work try with cookie. try: 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) c.signal(signal) os.environ['TOR_AVAILABLE'] = '1'