Skip to content

Commit

Permalink
Remove header information from the JSON output (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbof authored and cr committed Mar 9, 2023
1 parent 1e88bd1 commit cb8de91
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions hxtool/cli/gpslog.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,6 @@ def write_json(log_data: bytes, file_name: str) -> int:
logger.warning("Log is blank. Not writing empty JSON log")
return 0
jlog = {
"header": hexlify(bytes(log.sectors[0].header)).decode("ascii"),
"unknown": hexlify(log.sectors[0].unknown_3c).decode("ascii"),
"trackpoints": []
}
for wp in log:
Expand Down

0 comments on commit cb8de91

Please sign in to comment.