From 1f1996b9093ce4a137261bfdca8eecb7e4636b5c Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Wed, 21 Aug 2024 21:50:03 -0700 Subject: [PATCH] Update locationdata.py --- modules/locationdata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/locationdata.py b/modules/locationdata.py index c6a2177..5c9edc2 100644 --- a/modules/locationdata.py +++ b/modules/locationdata.py @@ -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)