From fd5a9c94892e0a890b6e0702c745e50e48f16f23 Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Sun, 10 Jan 2016 11:18:58 +0100 Subject: don't stop scheduling on_loop in case of an input error, #43 --- voctocore/lib/controlserver.py | 2 +- voctogui/lib/connection.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/voctocore/lib/controlserver.py b/voctocore/lib/controlserver.py index 2f25ca6..2dc6e1c 100644 --- a/voctocore/lib/controlserver.py +++ b/voctocore/lib/controlserver.py @@ -86,7 +86,7 @@ class ControlServer(TCPMultiConnection): words = line.split() if len(words) < 1: self.log.debug('command_queue is empty again, stopping on_loop scheduling') - return False + return True command = words[0] args = words[1:] diff --git a/voctogui/lib/connection.py b/voctogui/lib/connection.py index bc8b867..2a6aaf5 100644 --- a/voctogui/lib/connection.py +++ b/voctogui/lib/connection.py @@ -108,7 +108,7 @@ def on_loop(): words = line.split() if len(words) < 1: log.debug('command_queue is empty again, stopping on_loop scheduling') - return False + return True signal = words[0] args = words[1:] -- cgit v1.2.3