diff options
author | MaZderMind <git@mazdermind.de> | 2015-10-05 23:48:49 +0200 |
---|---|---|
committer | MaZderMind <git@mazdermind.de> | 2015-10-05 23:48:49 +0200 |
commit | 43df3e8936ee54282321a6cd9a881265e1f1f525 (patch) | |
tree | add287ccc233e8eb096e61b21c57b1356c9ae58a /voctocore/lib | |
parent | a9a3798af63247500ce8e01cac419a78ebe4e596 (diff) |
hide useles log messages
Diffstat (limited to 'voctocore/lib')
-rw-r--r-- | voctocore/lib/controlserver.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/voctocore/lib/controlserver.py b/voctocore/lib/controlserver.py index b96d11d..22dd305 100644 --- a/voctocore/lib/controlserver.py +++ b/voctocore/lib/controlserver.py @@ -65,7 +65,9 @@ class ControlServer(TCPMultiConnection): self.close_connection(conn) return False - self.log.debug("remaining %r", lines[-1]) + if lines[-1] != '': + self.log.debug("remaining %r", lines[-1]) + leftovers.append(lines[-1]) return True |