work on getting new blocks in communicator2

This commit is contained in:
Kevin Froman 2018-06-15 00:45:07 -05:00
parent 6cb69c7187
commit 21786c6885
No known key found for this signature in database
GPG key ID: 0D414D0FE405B63B
4 changed files with 73 additions and 23 deletions

View file

@ -92,6 +92,8 @@ class Onionr:
self.onionrCore = core.Core()
self.onionrUtils = OnionrUtils(self.onionrCore)
self.userOS = platform.system()
# Handle commands
self.debug = False # Whole application debugging
@ -571,6 +573,7 @@ class Onionr:
logger.info('Using new communicator')
except NameError:
pass
#TODO make runable on windows
subprocess.Popen([communicatorDaemon, "run", str(net.socksPort)])
logger.debug('Started communicator')
events.event('daemon_start', onionr = self)