e
This commit is contained in:
parent
69cf0b4754
commit
00000d9b81
9 changed files with 30 additions and 8 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue