Use indented JSON when writing HuggingFace author index cache

This commit is contained in:
Dariusz L
2026-07-12 21:04:04 +02:00
parent 6451d9bcf4
commit 8cd3a2968b
2 changed files with 4058 additions and 2 deletions
+1 -1
View File
@@ -143,7 +143,7 @@ def _write_persistent_author_index(author: str, index: Dict[str, Any]) -> None:
write_json_atomic(
HF_AUTHOR_INDEX_CACHE_PATH,
data,
separators=(",", ":"),
indent=2,
)
except Exception as e:
log.debug(f"Error writing HuggingFace author index cache: {e}")
File diff suppressed because one or more lines are too long