2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-18 16:06:30 +08:00

protocols/logging: revert debug hack that was incorrectly committed

This commit is contained in:
Sebastien Bourdeauducq 2015-10-21 09:54:39 +08:00
parent ec02bea054
commit a58e41684b

View File

@ -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