aboutsummaryrefslogtreecommitdiff
path: root/examples/trip-query.py
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2014-03-22 21:32:33 +0100
committerGuido Günther <agx@sigxcpu.org>2014-03-22 22:19:59 +0100
commit06f5e18958d64a4db67382d03958f10127c4d9e6 (patch)
tree490a835fa3326cd3c70c577fa0976f5be03315c5 /examples/trip-query.py
parente613f5b9ec103ac4b4b39e2897b70f135a82076c (diff)
Add flags argument to lpf_provider_get_locs
Currently this is for consistency with lpf_provider_get_trips only.
Diffstat (limited to 'examples/trip-query.py')
-rw-r--r--examples/trip-query.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/trip-query.py b/examples/trip-query.py
index d4b0ea8..30585bf 100644
--- a/examples/trip-query.py
+++ b/examples/trip-query.py
@@ -49,7 +49,7 @@ def locs_cb(locs, userdata, err):
start = locs[0]
end, when = userdata
print("Start: %s" % start.props.name)
- provider.get_locs(end, locs_cb, when)
+ provider.get_locs(end, 0, locs_cb, when)
else:
end = locs[0]
print("End: %s" % end.props.name)
@@ -148,7 +148,7 @@ def main(argv):
print("Loaded provider %s" % provider.props.name)
when = parse_datetime(options.when)
- provider.get_locs(start, locs_cb, (end, when))
+ provider.get_locs(start, 0, locs_cb, (end, when))
mainloop = GObject.MainLoop()
GObject.timeout_add_seconds(20, quit, "timed out")