Commit 0a9c6aca authored by Karsten Loesing's avatar Karsten Loesing
Browse files

Merge branch 'task-40002' into develop

parents 3e1d149f 30949a42
......@@ -439,6 +439,9 @@ WarnUnsafeSocks 0\nSafeLogging 0\nMaxCircuitDirtiness 60 seconds\nDataDirectory
if not os.path.exists(tor_datadir): os.makedirs(tor_datadir)
tor_config = self.create_tor_config(control_port,socks_port,tor_datadir,name)
tor_confpath = "{0}/torrc".format(tor_datadir)
with open(tor_confpath, 'wt') as f:
f.write(tor_config)
tor_logpath = "{0}/onionperf.tor.log".format(tor_datadir)
tor_writable = util.FileWritable(tor_logpath)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment