2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-24 10:54:02 +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 return
line = line[:-1] line = line[:-1]
linesplit = line.split(":", 3) linesplit = line.split(":", 3)
if len(linesplit) != 2: if len(linesplit) != 4:
logger.warning("received improperly formatted message, " logger.warning("received improperly formatted message, "
"dropping connection") "dropping connection")
return return