]> git.ipfire.org Git - nitsi.git/blobdiff - test.py
login: also check lines for login, which do not start with a l
[nitsi.git] / test.py
diff --git a/test.py b/test.py
index f7f7c6692810b9ba18ae8803d180adc3c8d6f09a..54d256df85da7767846bd00fa4aac483bb5c7e02 100755 (executable)
--- a/test.py
+++ b/test.py
@@ -308,11 +308,6 @@ class connection():
 
         # Read all line till we get login:
         while 1:
-            data = self.peek()
-            if not data.decode() == "l":
-                self.log.debug("We get no l at the start")
-                self.log_console_line(self.readline().decode())
-
             # We need to use self.in_waiting because with self.con.in_waiting we get
             # not the complete string
             size = len(self.buffer) + self.in_waiting