diff --git a/modules/locationdata.py b/modules/locationdata.py index d1a0924..323f363 100644 --- a/modules/locationdata.py +++ b/modules/locationdata.py @@ -457,7 +457,6 @@ def getIpawsAlert(lat=0, lon=0, shortAlerts = False): alerts = [] # set the API URL for IPAWS - ipawsPIN = "000000" alert_url = "https://apps.fema.gov/IPAWSOPEN_EAS_SERVICE/rest/feed" if ipawsPIN != "000000": alert_url += "?pin=" + ipawsPIN diff --git a/modules/settings.py b/modules/settings.py index d521af1..204520f 100644 --- a/modules/settings.py +++ b/modules/settings.py @@ -158,6 +158,7 @@ try: wxAlertsEnabled = config['location'].getboolean('NOAAalertsEnabled', True) # default True not enabled yet repeater_lookup = config['location'].get('repeaterLookup', 'rbook') # default repeater lookup source mySAME = config['location'].get('mySAME', '').split(',') # default empty + ipawsPIN = config['location'].get('ipawsPIN', '000000') # default 000000 femaAlertBroadcastEnabled = config['location'].getboolean('femaAlertBroadcastEnabled', False) # default False femaAlertBroadcastCh = config['location'].get('femaAlertBroadcastCh', '2').split(',') # default Channel 2 wxAlertBroadcastEnabled = config['location'].getboolean('wxAlertBroadcastEnabled', False) # default False