Skip to content

Commit

Permalink
Fix again tlogparser
Browse files Browse the repository at this point in the history
  • Loading branch information
tilaktilak committed Jul 19, 2023
1 parent 0c549eb commit e1cc023
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/parsers/tlogparser.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ def parse(self,filename):
while True:
m = mlog.recv_match()
if (m is None): break
name = m.get_type()
data = m.to_dict()
name = data['mavpackettype']
data['timestamp_tiplot'] = m._timestamp
try:
data['time_utc'] = str(datetime.datetime.fromtimestamp(m._timestamp))
Expand Down

0 comments on commit e1cc023

Please sign in to comment.