summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Lee <micah@micahflee.com>2017-05-18 17:34:36 -0700
committerMicah Lee <micah@micahflee.com>2017-05-18 17:34:36 -0700
commitd3eeda887bbd9eaffbd559bcd1d989ce732aa44d (patch)
treeff7b8a1724c8bafa80df17216481bb3bc7eafc1a
parentc875e923d2a224d97bfed916caab418ad7179e0b (diff)
downloadonionshare-d3eeda887bbd9eaffbd559bcd1d989ce732aa44d.tar.gz
onionshare-d3eeda887bbd9eaffbd559bcd1d989ce732aa44d.zip
In bundled Tor mode, wait 2 full seconds before connecting to the Tor controller
-rw-r--r--onionshare/onion.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/onionshare/onion.py b/onionshare/onion.py
index f882c895..4d69ebeb 100644
--- a/onionshare/onion.py
+++ b/onionshare/onion.py
@@ -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)
# Wait for the tor controller to start
- time.sleep(1)
+ time.sleep(2)
# Connect to the controller
try: