This commit is contained in:
doms9 2025-10-01 18:12:29 -04:00
parent cc1ad3c3ab
commit 00000d9866
2 changed files with 1 additions and 4 deletions

View file

@ -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)}