From cb8de91f99fb14954af955fc61c2fc80724df1a0 Mon Sep 17 00:00:00 2001 From: mbof Date: Tue, 7 Mar 2023 21:42:15 -0800 Subject: [PATCH] Remove header information from the JSON output (#36) --- hxtool/cli/gpslog.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/hxtool/cli/gpslog.py b/hxtool/cli/gpslog.py index de0fcc2..769c443 100644 --- a/hxtool/cli/gpslog.py +++ b/hxtool/cli/gpslog.py @@ -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: