Skip to content

Commit a310747

Browse files
committed
use values for satellite dict access instead of items
1 parent a9d9a11 commit a310747

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_gps.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,7 @@ def _parse_gsv(self, talker: bytes, data: List[str]) -> bool:
699699
# been seen for 30 seconds
700700
timestamp = time.monotonic()
701701
old = []
702-
for sat in self.sats.items():
702+
for sat in self.sats.values():
703703
if (timestamp - sat[4]) > 30:
704704
old.append(i)
705705
for i in old:

0 commit comments

Comments
 (0)