mirror of
https://github.com/craigerl/aprsd.git
synced 2025-03-11 14:58:47 -04:00
Remove error logs from watch list
This commit is contained in:
parent
7541f13174
commit
27359d61aa
@ -62,11 +62,9 @@ class WatchList(objectstore.ObjectStoreMixin):
|
|||||||
@wrapt.synchronized(lock)
|
@wrapt.synchronized(lock)
|
||||||
def rx(self, packet: type[core.Packet]) -> None:
|
def rx(self, packet: type[core.Packet]) -> None:
|
||||||
"""Track when we got a packet from the network."""
|
"""Track when we got a packet from the network."""
|
||||||
LOG.error(f"WatchList RX {packet}")
|
|
||||||
callsign = packet.from_call
|
callsign = packet.from_call
|
||||||
|
|
||||||
if self.callsign_in_watchlist(callsign):
|
if self.callsign_in_watchlist(callsign):
|
||||||
LOG.error(f"Updating WatchList RX {callsign}")
|
|
||||||
self.data[callsign]["last"] = datetime.datetime.now()
|
self.data[callsign]["last"] = datetime.datetime.now()
|
||||||
self.data[callsign]["packet"] = packet
|
self.data[callsign]["packet"] = packet
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user