v0.3.0 update

pull/34/head
Mason10198 3 years ago
parent cd7b727277
commit 4096f2aaae

@ -366,8 +366,7 @@ def getAlerts(countyCodes):
time_type_end = "ends"
for countyCode in countyCodes:
# url = "https://api.weather.gov/alerts/active?zone={}".format(countyCode)
url = "https://api.weather.gov/alerts/active"
url = "https://api.weather.gov/alerts/active?zone={}".format(countyCode)
try:
response = requests.get(url)
response.raise_for_status() # will raise an exception if the status code is not 200

Loading…
Cancel
Save

Powered by TurnKey Linux.