Wait a bit longer before attempting to connect to the Tor controller

This commit is contained in:
Miguel Jacq 2017-05-19 09:45:54 +10:00
parent 1bbcd6f5ea
commit c875e923d2
No known key found for this signature in database
GPG Key ID: EEA4341C6D97A0B6

View File

@ -205,7 +205,7 @@ class Onion(object):
self.tor_proc = subprocess.Popen([self.tor_path, '-f', self.tor_torrc], stdout=subprocess.PIPE, stderr=subprocess.PIPE) self.tor_proc = subprocess.Popen([self.tor_path, '-f', self.tor_torrc], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
# Wait for the tor controller to start # Wait for the tor controller to start
time.sleep(0.2) time.sleep(1)
# Connect to the controller # Connect to the controller
try: try: