bugfix
This commit is contained in:
parent
22b4c558cd
commit
c624815704
|
@ -7,7 +7,7 @@ def read_until(token):
|
|||
line = ser.readline(None,"\r")
|
||||
sys.stdout.write(line)
|
||||
|
||||
if (line.startswith("+OK")):
|
||||
if (line.startswith(token)):
|
||||
break
|
||||
return line
|
||||
|
||||
|
|
Loading…
Reference in New Issue