Implement a max spot age filter. Closes #18

This commit is contained in:
Ian Renton
2025-10-02 09:57:25 +01:00
parent 9640c0e0c1
commit 1a9dc0b634
8 changed files with 49 additions and 17 deletions

View File

@@ -5,7 +5,7 @@ from threading import Thread
import aprslib
import pytz
from core.config import config
from core.config import SERVER_OWNER_CALLSIGN
from data.spot import Spot
from providers.provider import Provider
@@ -23,7 +23,7 @@ class APRSIS(Provider):
self.thread.start()
def connect(self):
self.aprsis = aprslib.IS(config["server-owner-callsign"])
self.aprsis = aprslib.IS(SERVER_OWNER_CALLSIGN)
self.status = "Connecting"
logging.info("APRS-IS connecting...")
self.aprsis.connect()