mirror of
https://git.ianrenton.com/ian/spothole.git
synced 2025-10-27 16:59:25 +00:00
Implement a max spot age filter. Closes #18
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user