Update system.py

This commit is contained in:
SpudGunMan
2024-07-31 19:45:05 -07:00
parent 18871caad2
commit d5a8880a23
+4
View File
@@ -371,11 +371,15 @@ async def handleSignalWatcher():
send_message(msg, int(ch), 0, 1)
if interface2_enabled:
send_message(msg, int(ch), 0, 2)
else:
print(f"{log_timestamp()} System: antiSpam prevented Alert from Hamlib {msg}")
else:
if antiSpam and sigWatchBrodcastCh != publicChannel:
send_message(msg, int(sigWatchBrodcastCh), 0, 1)
if interface2_enabled:
send_message(msg, int(sigWatchBrodcastCh), 0, 2)
else:
print(f"{log_timestamp()} System: antiSpam prevented Alert from Hamlib {msg}")
await asyncio.sleep(1)
pass