summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--voctocore/lib/controlserver.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/voctocore/lib/controlserver.py b/voctocore/lib/controlserver.py
index 631770b..70b9213 100644
--- a/voctocore/lib/controlserver.py
+++ b/voctocore/lib/controlserver.py
@@ -83,6 +83,8 @@ class ControlServer(TCPMultiConnection):
command = words[0]
args = words[1:]
+ self.log.debug("Processing Command %r with args %s", command, args)
+
try:
command_function = self.commands.__class__.__dict__[command]
@@ -124,7 +126,8 @@ class ControlServer(TCPMultiConnection):
return False
if queue.empty():
- return True
+ return True
+
message = queue.get()
try:
conn.send(message.encode())