From 44eff643a97934779188ef470f604a0d92d8ca1d Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Wed, 21 Aug 2024 21:27:32 -0700 Subject: [PATCH] Update locationdata.py --- modules/locationdata.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/locationdata.py b/modules/locationdata.py index 515fd13..32f0a72 100644 --- a/modules/locationdata.py +++ b/modules/locationdata.py @@ -207,8 +207,8 @@ def getWeatherAlerts(lat=0, lon=0): if float(lat) == 0 and float(lon) == 0: 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)