diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/test-generator.py | 2 |
1 files changed, 1 insertions, 1 deletions
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() |