From f7f127590d6bdacdccbfe8644f1bf08f18802907 Mon Sep 17 00:00:00 2001 From: sodoku Date: Wed, 10 Sep 2025 18:41:45 +0200 Subject: [PATCH] fix: wrong variable use --- modules/system.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/system.py b/modules/system.py index e0c4ebe..0fc27fb 100644 --- a/modules/system.py +++ b/modules/system.py @@ -819,9 +819,9 @@ def handleAlertBroadcast(deviceID=1): if NO_ALERTS not in alertDe: if isinstance(emergencyAlertBroadcastCh, list): for channel in emergencyAlertBroadcastCh: - send_message(ukAlert, int(channel), 0, deviceID) + send_message(deAlert, int(channel), 0, deviceID) else: - send_message(ukAlert, emergencyAlertBroadcastCh, 0, deviceID) + send_message(deAlert, emergencyAlertBroadcastCh, 0, deviceID) return True # pause for traffic