Skip to content
Snippets Groups Projects
Verified Commit 05f978e0 authored by David Hoese's avatar David Hoese
Browse files

Fix influxdb frame conversion to use timestamp at beginning of frame

parent 43a63232
No related branches found
No related tags found
No related merge requests found
......@@ -217,7 +217,8 @@ def read_frames(source, error_handler=lambda *a: None, tail=False):
def loggernet_to_tower(rec_dict):
"""Convert loggernet record dictionary to our standard naming"""
return _make_frame(zip(ParserV1V2.names, rec_dict.values()), rename_timestamp=True)
# assume that the next record after the traditional frame is the timestamp
return _make_frame(zip(['timestamp'] + ParserV1V2.names, rec_dict.values()), rename_timestamp=True)
def ldmp_generator(station_name, tables):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment