Close not needed

This commit is contained in:
MadcowOG 2022-05-04 08:36:13 -07:00
parent 02b222e3df
commit 1fff49dc22

View File

@ -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)