mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-07-06 01:41:45 +02:00
Update locationdata.py
This commit is contained in:
@@ -213,7 +213,7 @@ def getWeatherAlerts(lat=0, lon=0):
|
||||
)
|
||||
|
||||
if alerts == "" or alerts == None:
|
||||
return ERROR_FETCHING_DATA
|
||||
return "No weather alerts found."
|
||||
|
||||
# trim off last newline
|
||||
if alerts[-1] == "\n":
|
||||
|
||||
Reference in New Issue
Block a user