added netcontroller.py file

This commit is contained in:
Kevin Froman 2018-01-18 03:08:32 -06:00
parent b29e0f0c09
commit 0394f1640a
No known key found for this signature in database
GPG Key ID: 0D414D0FE405B63B
2 changed files with 2 additions and 1 deletions

View File

@ -30,6 +30,7 @@ class OnionrCommunicate:
self._core = core.Core() self._core = core.Core()
while True: while True:
command = self._core.daemonQueue() command = self._core.daemonQueue()
if debug:
print('Daemon heartbeat') print('Daemon heartbeat')
if command != False: if command != False:
if command[0] == 'shutdown': if command[0] == 'shutdown':

0
onionr/netcontroller.py Normal file
View File