From 1fff49dc2237ed408be155ce7cce3f68148ac198 Mon Sep 17 00:00:00 2001 From: MadcowOG Date: Wed, 4 May 2022 08:36:13 -0700 Subject: [PATCH] Close not needed --- app/request.py | 1 - 1 file changed, 1 deletion(-) diff --git a/app/request.py b/app/request.py index 6505be5..f3a5258 100644 --- a/app/request.py +++ b/app/request.py @@ -44,7 +44,6 @@ def send_tor_signal(signal: Signal, confloc='./misc/tor/control.conf') -> bool: for line in conf: pass secret = line - conf.close() with Controller.from_port(port=9051) as c: authenticate_password(c, password=secret) c.signal(signal)