From a58e41684b831f31d078c1801a6c2d0e1d8c8d16 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Wed, 21 Oct 2015 09:54:39 +0800 Subject: [PATCH] protocols/logging: revert debug hack that was incorrectly committed --- artiq/protocols/logging.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/protocols/logging.py b/artiq/protocols/logging.py index 47e646d47..e69f76223 100644 --- a/artiq/protocols/logging.py +++ b/artiq/protocols/logging.py @@ -61,7 +61,7 @@ class Server(AsyncioServer): return line = line[:-1] linesplit = line.split(":", 3) - if len(linesplit) != 2: + if len(linesplit) != 4: logger.warning("received improperly formatted message, " "dropping connection") return