This commit is contained in:
SpudGunMan
2024-08-08 01:42:27 -07:00
parent 92b7b7ae2a
commit 2673b638bf
3 changed files with 78 additions and 0 deletions
+3
View File
@@ -90,6 +90,9 @@ try:
signalHoldTime = config['radioMon'].getint('signalHoldTime', 10) # default 10 seconds
signalCooldown = config['radioMon'].getint('signalCooldown', 5) # default 1 second
signalCycleLimit = config['radioMon'].getint('signalCycleLimit', 5) # default 5 cycles, used with SIGNAL_COOLDOWN
sentry_enabled = config['sentry'].getboolean('enabled', False)
secure_channel = config['sentry'].getint('secure_channel', 2) # default 2
sentry_holdoff = config['sentry'].getint('holdoff', 9) # default 9
except KeyError as e:
print(f"System: Error reading config file: {e}")
print(f"System: Check the config.ini against config.template file for missing sections or values.")