getAlertZones now returns the primary county in its list

This commit is contained in:
April
2022-11-04 20:41:33 -07:00
parent 3716287338
commit a0c142183a

View File

@ -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)