Skip to content

Commit ea37df3

Browse files
authored
Merge pull request #108 from adafruit/dhalbert-patch-1
Fix typo in _parse_gil()
2 parents ab6b33a + 41f1596 commit ea37df3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_gps.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ def _parse_gll(self, data: List[str]) -> bool:
505505
if data is None or len(data) != 7:
506506
return False # Unexpected number of params.
507507
parsed_data = _parse_data(_GLL, data)
508-
if data is None:
508+
if parsed_data is None:
509509
return False # Params didn't parse
510510

511511
# Latitude

0 commit comments

Comments
 (0)