Update locationdata.py

This commit is contained in:
SpudGunMan
2024-12-12 14:48:35 -08:00
parent 895e5a2b07
commit a50c06206c
+1
View File
@@ -508,6 +508,7 @@ def getIpawsAlert(lat=0, lon=0, shortAlerts = False):
if info.getElementsByTagName("description") and info.getElementsByTagName("description")[0].childNodes:
description = info.getElementsByTagName("description")[0].childNodes[0].nodeValue
else:
logger.debug(f"System: report this to discord - iPAWS No description for alert: {headline}")
description = headline
area_table = info.getElementsByTagName("area")[0]