emergency commit
This commit is contained in:
parent
d2d60fe6ce
commit
cb3de7056c
3 changed files with 9 additions and 1 deletions
|
@ -118,10 +118,12 @@ class Onionr:
|
|||
def daemon(self):
|
||||
''' Start the Onionr communication daemon
|
||||
'''
|
||||
colors = Colors()
|
||||
if not os.environ.get("WERKZEUG_RUN_MAIN") == "true":
|
||||
net = NetController(self.config['CLIENT']['PORT'])
|
||||
print('Tor is starting...')
|
||||
net.startTor()
|
||||
print(colors.GREEN + 'Started Tor .onion service: ' + colors.UNDERLINE + net.myID + colors.RESET)
|
||||
time.sleep(1)
|
||||
subprocess.Popen(["./communicator.py", "run"])
|
||||
print('Started communicator')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue