This commit is contained in:
doms9 2026-04-07 11:26:01 -04:00
parent 7a5724f165
commit 00000d9aa1
5 changed files with 13 additions and 11 deletions

View file

@ -67,7 +67,7 @@ async def get_events(cached_keys: list[str]) -> list[dict[str, str]]:
if not (api_req := await network.request(API_URL, log=log)):
return events
elif not (api_data := api_req.json()):
elif not (api_data := api_req.json()) or api_data.get("error"):
return events
for event in api_data: