diff --git a/serialInterface.py b/serialInterface.py index 8217f3e..d0bd5e0 100755 --- a/serialInterface.py +++ b/serialInterface.py @@ -25,6 +25,8 @@ while True: try: entry = s.recv(6) + if b"\nthor@" == entry: + break except: exit(0)