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({"opencellid": {"dbfn": sys.argv[2]}})
for timestamp, packet in c: