Fix socket

This commit is contained in:
BarsTiger
2023-07-27 13:30:38 +03:00
parent f87b2b2177
commit 3be0f6409d

View File

@@ -124,7 +124,7 @@ class Onion(object):
time.sleep(2) time.sleep(2)
if platform.system() in ["Windows", "Darwin"]: if not self.tor_control_socket:
self.c = Controller.from_port(port=self.tor_control_port) self.c = Controller.from_port(port=self.tor_control_port)
self.c.authenticate() self.c.authenticate()
else: else: