e
This commit is contained in:
parent
cc1ad3c3ab
commit
00000d9866
2 changed files with 1 additions and 4 deletions
|
|
@ -36,9 +36,6 @@ class Cache:
|
|||
except (FileNotFoundError, json.JSONDecodeError):
|
||||
return {}
|
||||
|
||||
if not data:
|
||||
return {}
|
||||
|
||||
if per_entry:
|
||||
return {k: v for k, v in data.items() if self.is_fresh(v, nearest_hr)}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue