mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-03-28 17:32:36 +01:00
Update locationdata.py
This commit is contained in:
@@ -433,7 +433,7 @@ def getWeatherAlertsNOAA(lat=0, lon=0, useDefaultLatLon=False):
|
||||
continue
|
||||
|
||||
# If title is "Special Weather Statement" and headline exists, use headline only
|
||||
if "Special Weather Statement" in title and nws_headline:
|
||||
if "special" in title.lower() and nws_headline:
|
||||
main_alert = nws_headline
|
||||
else:
|
||||
main_alert = title
|
||||
|
||||
Reference in New Issue
Block a user