Change link to json

This commit is contained in:
Andrew 2023-09-03 15:26:04 -04:00
parent 5e4560c461
commit 859a1737f3

View File

@ -582,7 +582,7 @@ class Helpers:
def get_announcements(self):
data = []
try:
response = requests.get("https://craftycontrol.com/notify.json", timeout=2)
response = requests.get("https://craftycontrol.com/notify", timeout=2)
data = json.loads(response.content)
except Exception as e:
logger.error(f"Failed to fetch notifications with error: {e}")