mirror of
https://github.com/onionshare/onionshare.git
synced 2025-07-15 10:59:32 -04:00
Wait a bit longer before attempting to connect to the Tor controller
This commit is contained in:
parent
1bbcd6f5ea
commit
c875e923d2
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue