This commit is contained in:
doms9 2025-09-09 13:34:16 -04:00
parent 8a5a52630f
commit 00000d99ac
3 changed files with 39 additions and 36 deletions

View file

@ -311,7 +311,7 @@ async def main(client: httpx.AsyncClient) -> None:
urls[key] = cached_urls[key] = entry
if (new_count := len(cached_urls) - cached_count) > 0:
if new_count := len(cached_urls) - cached_count:
CACHE_FILE.write_text(json.dumps(cached_urls, indent=2), encoding="utf-8")
log.info(f"Collected and cached {new_count} new event(s)")