diff --git a/adafruit_gps.py b/adafruit_gps.py index 163ade2..82b4c0b 100644 --- a/adafruit_gps.py +++ b/adafruit_gps.py @@ -505,7 +505,7 @@ def _parse_gll(self, data: List[str]) -> bool: if data is None or len(data) != 7: return False # Unexpected number of params. parsed_data = _parse_data(_GLL, data) - if data is None: + if parsed_data is None: return False # Params didn't parse # Latitude