This commit is contained in:
maniacbug 2011-07-13 15:28:34 -07:00
parent 22b4c558cd
commit c624815704
1 changed files with 1 additions and 1 deletions

View File

@ -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