From 4083e552fd9e3f39889f5915a4df615342c9062b Mon Sep 17 00:00:00 2001 From: shortcutme Date: Wed, 14 Mar 2018 22:32:28 +0100 Subject: [PATCH] Formatting --- src/Tor/TorManager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Tor/TorManager.py b/src/Tor/TorManager.py index baad17f0..b9499469 100644 --- a/src/Tor/TorManager.py +++ b/src/Tor/TorManager.py @@ -89,7 +89,7 @@ class TorManager(object): startupinfo = subprocess.STARTUPINFO() startupinfo.dwFlags |= subprocess.STARTF_USESHOWWINDOW self.tor_process = subprocess.Popen(r"%s -f torrc" % self.tor_exe, cwd=tor_dir, close_fds=True, startupinfo=startupinfo) - for wait in range(1,10): # Wait for startup + for wait in range(1, 10): # Wait for startup time.sleep(wait * 0.5) self.enabled = True if self.connect():