added netcontroller.py file
parent
b29e0f0c09
commit
0394f1640a
|
@ -30,7 +30,8 @@ class OnionrCommunicate:
|
||||||
self._core = core.Core()
|
self._core = core.Core()
|
||||||
while True:
|
while True:
|
||||||
command = self._core.daemonQueue()
|
command = self._core.daemonQueue()
|
||||||
print('Daemon heartbeat')
|
if debug:
|
||||||
|
print('Daemon heartbeat')
|
||||||
if command != False:
|
if command != False:
|
||||||
if command[0] == 'shutdown':
|
if command[0] == 'shutdown':
|
||||||
print('Daemon recieved exit command.')
|
print('Daemon recieved exit command.')
|
||||||
|
|
Loading…
Reference in New Issue