From 41f15963f7bbb308064f20f22a69b7cc3238da41 Mon Sep 17 00:00:00 2001 From: Dan Halbert Date: Fri, 22 Mar 2024 11:54:01 -0400 Subject: [PATCH] Fix typo in _parse_gil() --- adafruit_gps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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