communicator now uses one function

This commit is contained in:
Kevin Froman 2018-01-20 19:02:56 -06:00
parent d0a93ef2de
commit 4d33005d16
No known key found for this signature in database
GPG key ID: 0D414D0FE405B63B
3 changed files with 16 additions and 1 deletions

View file

@ -128,7 +128,7 @@ class Onionr:
net.startTor()
print(colors.GREEN + 'Started Tor .onion service: ' + colors.UNDERLINE + net.myID + colors.RESET)
time.sleep(1)
subprocess.Popen(["./communicator.py", "run"])
subprocess.Popen(["./communicator.py", "run", net.socksPort])
print('Started communicator')
api.API(self.config, self.debug)
return