This commit is contained in:
doms9 2025-10-12 00:27:42 -04:00
parent 69cf0b4754
commit 00000d9b81
9 changed files with 30 additions and 8 deletions

View file

@ -22,6 +22,7 @@ class Cache:
per_entry: bool = True,
index: bool = False,
) -> dict[str, dict[str, str | float]]:
try:
data: dict = json.loads(self.file.read_text(encoding="utf-8"))
except (FileNotFoundError, json.JSONDecodeError):