Update module/filter/doubleFilter.py

Co-authored-by: Jan Speller <github@speller.biz>
This commit is contained in:
Bastian Schroll 2025-06-11 10:22:12 +02:00 committed by GitHub
parent a6a1059931
commit 1ead2cbaa2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -73,7 +73,6 @@ class BoswatchModule(ModuleBase):
if all(listPacket.get(x) == bwPacket.get(x) for x in filterFields):
logging.debug("found duplicate: %s", bwPacket.get("mode"))
return False
# delete entries that are to old
counter = 0
for listPacket in self._filterLists[bwPacket.get("mode")][1:]: # [1:] skip first entry, thats the new one