diff --git a/modules/locationdata.py b/modules/locationdata.py index 32f0a72..96f4df9 100644 --- a/modules/locationdata.py +++ b/modules/locationdata.py @@ -251,8 +251,8 @@ def getActiveWeatherAlertsDetail(lat=0, lon=0): logger.error("Location:No GPS data, try sending location for weather alerts") return NO_DATA_NOGPS - alert_url = "https://api.weather.gov/alerts/active.atom?point=" + str(lat) + "," + str(lon) - #alert_url = "https://api.weather.gov/alerts/active.atom?area=WA" + alert_url = "https://api.weather.gov/alerts/active?point=" + str(lat) + "," + str(lon) + #alert_url = "https://api.weather.gov/alerts/active?area=WA" try: alert_data = requests.get(alert_url, timeout=urlTimeoutSeconds)