From a0c142183ad56f1491d88830d0225a19be688cec Mon Sep 17 00:00:00 2001 From: April Date: Fri, 4 Nov 2022 20:41:33 -0700 Subject: [PATCH] getAlertZones now returns the primary county in its list --- Util/MachineProductCfg.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Util/MachineProductCfg.py b/Util/MachineProductCfg.py index fdd8691..82064eb 100644 --- a/Util/MachineProductCfg.py +++ b/Util/MachineProductCfg.py @@ -59,6 +59,9 @@ def getAlertZones(): for x in i['@value'].split(','): zones.append(x) + if i['@key'] == 'primaryCounty' and i['@value'] != "": + zones.append(i['@value']) + if i['@key'] == "secondaryCounties" and i['@value'] != "": for x in i['@value'].split(','): zones.append(x)