mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-08-03 07:23:22 +02:00
Update system.py
This commit is contained in:
+5
-1
@@ -677,7 +677,11 @@ def handleAlertBroadcast(deviceID=1):
|
||||
# check for alerts
|
||||
alertWx = alertBrodcastNOAA()
|
||||
alertFema = getIpawsAlert(latitudeValue,longitudeValue, shortAlerts=True)
|
||||
alertUk = get_govUK_alerts(latitudeValue, longitudeValue)
|
||||
|
||||
if enableGBalerts:
|
||||
alertUk = get_govUK_alerts()
|
||||
else:
|
||||
alertUk = NO_ALERTS
|
||||
|
||||
# format alert
|
||||
wxAlert = f"🚨 {alertWx[1]} EAS WX ALERT: {alertWx[0]}"
|
||||
|
||||
Reference in New Issue
Block a user