Formatting

This commit is contained in:
shortcutme 2018-03-14 22:32:28 +01:00
parent 3d7dea52a0
commit 4083e552fd
No known key found for this signature in database
GPG Key ID: 5B63BAE6CB9613AE
1 changed files with 1 additions and 1 deletions

View File

@ -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():