X-Git-Url: http://average.org/gitweb/?a=blobdiff_plain;f=gps303%2Fgooglemaps.py;h=dac607959b6e102579dc66030275aec8e8e4f0f9;hb=c3bc6d5bbdc0d0bf10e338c6e3bad1a519d5afa0;hp=d4deea2438dcae736ba2685b62d8f1e13c53b965;hpb=d6d5b6c95b677d98777959040bac808e4c5499c7;p=loctrkd.git diff --git a/gps303/googlemaps.py b/gps303/googlemaps.py index d4deea2..dac6079 100644 --- a/gps303/googlemaps.py +++ b/gps303/googlemaps.py @@ -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