use values for satellite dict access instead of items
This commit is contained in:
parent
a9d9a1160e
commit
a310747c2b
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