diff options
author | ninioe <ninioe@gmail.com> | 2016-07-19 10:20:51 +0300 |
---|---|---|
committer | ninioe <ninioe@gmail.com> | 2016-07-19 10:20:51 +0300 |
commit | bfa3fa62305858166d8acdcf6da4a6d33249877d (patch) | |
tree | 8cac0dc85f2da735055333a9d90b86c71579d1e5 /tools | |
parent | ef40f3317392068692606b484c6782b95b554cbf (diff) | |
download | trackermap-server-bfa3fa62305858166d8acdcf6da4a6d33249877d.tar.gz trackermap-server-bfa3fa62305858166d8acdcf6da4a6d33249877d.tar.bz2 trackermap-server-bfa3fa62305858166d8acdcf6da4a6d33249877d.zip |
changed to generic alarm type event
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 54e5feced..cedbe9c69 100755 --- a/tools/test-generator.py +++ b/tools/test-generator.py @@ -35,7 +35,7 @@ for i in range(0, len(waypoints)): def send(lat, lon, course, alarm): params = (('id', id), ('timestamp', int(time.time())), ('lat', lat), ('lon', lon), ('bearing', course)) if alarm: - params = params + (('alarm', 'sosAlarm'),) + params = params + (('alarm', 'sos'),) urllib2.urlopen(server + '?' + urllib.urlencode(params)).read() def course(lat1, lon1, lat2, lon2): |