mirror of
https://github.com/mewtek/i2ME-Legacy.git
synced 2025-05-11 17:00:23 -05:00
getAlertZones now returns the primary county in its list
This commit is contained in:
parent
3716287338
commit
a0c142183a
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user