Skip to content

Commit

Permalink
mtpos: use valid exptime
Browse files Browse the repository at this point in the history
  • Loading branch information
schneider42 committed Apr 20, 2024
1 parent abe07cf commit 01c1605
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iridiumtk/reassembler/mtpos.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def consume(self, q):

if time >= self.last_output + self.intvl:
self.last_output = time
self.mt_pos = [x for x in self.mt_pos if x['ts'] > time - 60]
self.mt_pos = [x for x in self.mt_pos if x['ts'] > time - self.exptime]

ofile=config.output
if ofile is None:
Expand Down

0 comments on commit 01c1605

Please sign in to comment.