Merge pull request #97 from awordforthat/issue82/update-gps-docs-amend
use values for satellite dict access instead of items
This commit is contained in:
commit
99f1cc5309
1 changed files with 1 additions and 1 deletions
|
|
@ -699,7 +699,7 @@ class GPS:
|
|||
# been seen for 30 seconds
|
||||
timestamp = time.monotonic()
|
||||
old = []
|
||||
for sat in self.sats.items():
|
||||
for sat in self.sats.values():
|
||||
if (timestamp - sat[4]) > 30:
|
||||
old.append(i)
|
||||
for i in old:
|
||||
|
|
|
|||
Loading…
Reference in a new issue