Update locationdata.py

This commit is contained in:
SpudGunMan
2024-07-31 22:44:42 -07:00
parent 6971b14a59
commit 10120734d3
+1 -1
View File
@@ -138,7 +138,7 @@ def get_weather(lat=0, lon=0, unit=0):
alert = alerts[0]
alert_num = alerts[1]
if alert_num > 0:
if int(alert_num) > 0:
# add the alert count warning to the weather
weather = str(alert_num) + " local alerts!\n" + weather + "\n" + alert