aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-01-13 19:18:13 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2017-01-13 19:18:13 +1300
commit12ce5606c7f3a4d29202dc0666342ff944cf44aa (patch)
treeeca1e86bbebf359172fe337ec35fc5397be94a2e /tools
parent8a250a2a57d9750a92433c33660dc6e24151cbe3 (diff)
downloadtraccar-server-12ce5606c7f3a4d29202dc0666342ff944cf44aa.tar.gz
traccar-server-12ce5606c7f3a4d29202dc0666342ff944cf44aa.tar.bz2
traccar-server-12ce5606c7f3a4d29202dc0666342ff944cf44aa.zip
Fix a small typo in generator script
Diffstat (limited to 'tools')
-rwxr-xr-xtools/test-generator.py2
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()