From 0394f1640a91d57518d9e7663208abbffe1af088 Mon Sep 17 00:00:00 2001 From: Kevin Froman Date: Thu, 18 Jan 2018 03:08:32 -0600 Subject: [PATCH] added netcontroller.py file --- onionr/communicator.py | 3 ++- onionr/netcontroller.py | 0 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 onionr/netcontroller.py diff --git a/onionr/communicator.py b/onionr/communicator.py index 472ba923..5d80f839 100755 --- a/onionr/communicator.py +++ b/onionr/communicator.py @@ -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.') diff --git a/onionr/netcontroller.py b/onionr/netcontroller.py new file mode 100644 index 00000000..e69de29b