This commit is contained in:
doms9 2025-12-27 10:25:35 -05:00
parent 7b48b92660
commit 00000d979f
5 changed files with 10 additions and 0 deletions

View file

@ -31,6 +31,8 @@ async def get_events(api_url: str, cached_keys: list[str]) -> list[dict[str, str
events = []
if not (api_data := API_FILE.load(per_entry=False)):
log.info("Refreshing API cache")
api_data = {}
if r := await network.request(api_url, log=log):