fix: --no-cache now also skips cache writing

This commit is contained in:
2026-04-02 03:55:02 +02:00
parent c864da8187
commit 59c6b711f4
+1 -1
View File
@@ -121,7 +121,7 @@ class LrcManager:
continue
# Cache the result (skip for self-cached fetchers)
if not fetcher.self_cached:
if not fetcher.self_cached and not bypass_cache:
ttl = result.ttl or _STATUS_TTL.get(result.status, TTL_NOT_FOUND)
self.cache.set(track, source, result, ttl_seconds=ttl)