diff --git a/python/PiFinder/gps_ubx_parser.py b/python/PiFinder/gps_ubx_parser.py index 8c6ff415..3d4289ab 100644 --- a/python/PiFinder/gps_ubx_parser.py +++ b/python/PiFinder/gps_ubx_parser.py @@ -381,9 +381,8 @@ def _parse_nav_dop(self, data: bytes) -> dict: if __name__ == "__main__": - # Parse files stored by gpumon's "l" command. - msg_types = {} + msg_types: dict = {} async def test(f_path: str): parser = UBXParser.from_file(file_path=f_path) @@ -394,7 +393,6 @@ async def test(f_path: str): x = msg_types.get(msg_type, 0) + 1 msg_types[msg_type] = x - if len(sys.argv) < 2 or len(sys.argv) > 2: print("Usage: python gps_ubx_parser.py ") sys.exit(1)