This commit is contained in:
doms9 2025-10-10 19:29:17 -04:00
parent da854a6847
commit 00000d989d
2 changed files with 20 additions and 11 deletions

View file

@ -130,7 +130,13 @@ async def get_events(
cached_keys: set[str],
) -> list[dict[str, str]]:
if not (api_data := API_FILE.load(per_entry=False)):
api_data = await refresh_api_cache(client, urljoin(base_url, "api/streams"))
api_data = await refresh_api_cache(
client,
urljoin(
base_url,
"api/streams",
),
)
API_FILE.write(api_data)