summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel Jacq <mig@mig5.net>2017-05-19 09:45:54 +1000
committerMiguel Jacq <mig@mig5.net>2017-05-19 09:45:54 +1000
commitc875e923d2a224d97bfed916caab418ad7179e0b (patch)
tree19789c358f7d154db3ff8b0bc6b1c88674409229
parent1bbcd6f5ea970e3c9fff99a352822a34ae35411b (diff)
downloadonionshare-c875e923d2a224d97bfed916caab418ad7179e0b.tar.gz
onionshare-c875e923d2a224d97bfed916caab418ad7179e0b.zip
Wait a bit longer before attempting to connect 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 14d9cffb..f882c895 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(0.2)
+ time.sleep(1)
# Connect to the controller
try: