]> www.average.org Git - loctrkd.git/blobdiff - gps303/googlemaps.py
Multiprotocol support in zmq messages and storage
[loctrkd.git] / gps303 / googlemaps.py
index d4deea2438dcae736ba2685b62d8f1e13c53b965..dac607959b6e102579dc66030275aec8e8e4f0f9 100644 (file)
@@ -58,7 +58,7 @@ if __name__.endswith("__main__"):
     c.execute(
         """select tstamp, packet from events
             where proto in (?, ?)""",
-        (WIFI_POSITIONING.PROTO, WIFI_OFFLINE_POSITIONING.PROTO),
+        (proto_name(WIFI_POSITIONING), proto_name(WIFI_OFFLINE_POSITIONING)),
     )
     init({"googlemaps": {"accesstoken": sys.argv[2]}})
     count = 0