From 1832ed7b7b0e1273425d792bb675cd975471d885 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Wed, 31 Jul 2024 18:07:53 -0700 Subject: [PATCH] Update system.py --- modules/system.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/system.py b/modules/system.py index d1e412c..a2415e5 100644 --- a/modules/system.py +++ b/modules/system.py @@ -364,8 +364,8 @@ async def handleSignalWatcher(): # check we are not spammig the channel limit messages to once per minute if time.time() - lastHamLibAlert > 60: lastHamLibAlert = time.time() - # if sigWatchBrodcastCh contains multiple channels, broadcast to all - if sigWatchBrodcastCh.count(',') > 0: + # if sigWatchBrodcastCh list contains multiple channels, broadcast to all + if type(sigWatchBrodcastCh) == list: for ch in sigWatchBrodcastCh: if antiSpam and ch != publicChannel: send_message(msg, int(ch), 0, 1)