From 01c1605bbab351ba9521c4e8f5c2b2ef4e0399e0 Mon Sep 17 00:00:00 2001 From: schneider Date: Sat, 20 Apr 2024 19:36:11 +0200 Subject: [PATCH] mtpos: use valid exptime --- iridiumtk/reassembler/mtpos.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iridiumtk/reassembler/mtpos.py b/iridiumtk/reassembler/mtpos.py index f61ad7d..41ff46c 100644 --- a/iridiumtk/reassembler/mtpos.py +++ b/iridiumtk/reassembler/mtpos.py @@ -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: