Skip to content

Commit

Permalink
COMM: fixed python script for empty responses
Browse files Browse the repository at this point in the history
  • Loading branch information
thegabriele97 committed Jan 20, 2022
1 parent a00677a commit 696951e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions serialInterface.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
while True:
try:
entry = s.recv(6)
if b"\nthor@" == entry:
break
except:
exit(0)

Expand Down

0 comments on commit 696951e

Please sign in to comment.