diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-01-13 19:18:13 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-01-13 19:18:13 +1300 |
commit | 12ce5606c7f3a4d29202dc0666342ff944cf44aa (patch) | |
tree | eca1e86bbebf359172fe337ec35fc5397be94a2e | |
parent | 8a250a2a57d9750a92433c33660dc6e24151cbe3 (diff) | |
download | traccar-server-12ce5606c7f3a4d29202dc0666342ff944cf44aa.tar.gz traccar-server-12ce5606c7f3a4d29202dc0666342ff944cf44aa.tar.bz2 traccar-server-12ce5606c7f3a4d29202dc0666342ff944cf44aa.zip |
Fix a small typo in generator script
-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() |