From 8ef6d3d07616092747a9d9b4cf619923d90e510a Mon Sep 17 00:00:00 2001 From: Micah Lee Date: Thu, 18 May 2017 17:34:36 -0700 Subject: [PATCH] In bundled Tor mode, wait 2 full seconds before connecting to the Tor controller --- onionshare/onion.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: