Update locationdata.py

This commit is contained in:
SpudGunMan
2024-08-21 21:50:03 -07:00
parent c2069da919
commit 1f1996b909
+1 -1
View File
@@ -249,7 +249,7 @@ def getActiveWeatherAlertsDetail(lat=0, lon=0):
# get the latest details of weather alerts from NOAA
alerts = ""
if float(lat) == 0 and float(lon) == 0:
logger.error("Location:No GPS data, try sending location for weather alerts")
logger.warning("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)