From c6248157046fca8ee8a358d71eba3eb6c8a98664 Mon Sep 17 00:00:00 2001 From: maniacbug Date: Wed, 13 Jul 2011 15:28:34 -0700 Subject: [PATCH] bugfix --- tests/pingpair_test/runtest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/pingpair_test/runtest.py b/tests/pingpair_test/runtest.py index 8941db0..5611d2c 100755 --- a/tests/pingpair_test/runtest.py +++ b/tests/pingpair_test/runtest.py @@ -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