aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaZderMind <git@mazdermind.de>2015-09-02 15:18:10 +0200
committerMaZderMind <git@mazdermind.de>2015-09-02 15:18:10 +0200
commit8646386d09ab6cdabf0b8421cece5c1ddd69633f (patch)
tree93894d7bc79a0b018275efbc0db524ac6f686570
parent13ef8b7d796025f412874349929296e01dab2672 (diff)
stylistic changes
-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())