added netcontroller.py file

master
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,7 +30,8 @@ class OnionrCommunicate:
self._core = core.Core()
while True:
command = self._core.daemonQueue()
print('Daemon heartbeat')
if debug:
print('Daemon heartbeat')
if command != False:
if command[0] == 'shutdown':
print('Daemon recieved exit command.')

0
onionr/netcontroller.py Normal file
View File