Changes to jobs, made a change to the base server to store the callsign in a config location and set it upon startup.

This commit is contained in:
Michael Woods
2025-12-27 11:38:10 -05:00
parent c060ddb060
commit 2f68866398
4 changed files with 63 additions and 56 deletions

View File

@@ -73,6 +73,7 @@ class Server:
if 'config' not in conn.root():
logging.debug("no config, writing blank default config")
conn.root.config = PersistentMapping(deepcopy(default_server_config))
conn.root.server_callsign = self.callsign
conn.root.config['blacklist'] = PersistentList()
if 'SYSTEM' not in conn.root.config['blacklist']:
logging.debug("Adding 'SYSTEM' to blacklist in case someone feels like violating FCC rules.")