Fix socket
This commit is contained in:
1 parent
f87b2b2177
commit
3be0f6409d
1 file changed
+1
-1
@@ -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:
|
||||||
|
|||||||
Reference in new issue
Block a user