Skip to content

Commit

Permalink
Fix typo in _parse_gil()
Browse files Browse the repository at this point in the history
  • Loading branch information
dhalbert committed Mar 22, 2024
1 parent ab6b33a commit 41f1596
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adafruit_gps.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 41f1596

Please sign in to comment.