Commit 686cb224 authored by Guillaume Seguin's avatar Guillaume Seguin

Minor change to revert to the pre df7622cf behavior (#401)

parent e67e6fe3
...@@ -230,7 +230,7 @@ class printcore(): ...@@ -230,7 +230,7 @@ class printcore():
if not line: empty_lines += 1 if not line: empty_lines += 1
else: empty_lines = 0 else: empty_lines = 0
if empty_lines == 5: break if empty_lines == 5: break
if line.startswith(tuple(self.greetings)) or line.startswith('ok'): if line.startswith(tuple(self.greetings)) or line.startswith('ok') or "T:" in line:
if self.onlinecb: if self.onlinecb:
try: self.onlinecb() try: self.onlinecb()
except: pass except: pass
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment