Skip to content

Commit

Permalink
Merge pull request SoC-Arch-polito#17 from SoC-Arch-polito/fix_comm_s…
Browse files Browse the repository at this point in the history
…cript

Fixed python script for empty responses
  • Loading branch information
thegabriele97 authored Jan 20, 2022
2 parents 233a286 + 696951e commit 5874a86
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 5874a86

Please sign in to comment.