From 12ce5606c7f3a4d29202dc0666342ff944cf44aa Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Fri, 13 Jan 2017 19:18:13 +1300 Subject: Fix a small typo in generator script --- tools/test-generator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/test-generator.py b/tools/test-generator.py index 1a50c5c61..7f8916f4d 100755 --- a/tools/test-generator.py +++ b/tools/test-generator.py @@ -39,7 +39,7 @@ def send(conn, lat, lon, course, speed, alarm, ignition, accuracy): params = params + (('alarm', 'sos'),) if ignition: params = params + (('ignition', 'true'),) - if ignition: + if accuracy: params = params + (('accuracy', accuracy),) conn.request('GET', '?' + urllib.urlencode(params)) conn.getresponse().read() -- cgit v1.2.3