feat: complete cache coverage for musify
This commit is contained in:
@@ -148,6 +148,9 @@ class Cache:
|
||||
return None
|
||||
|
||||
# check if it is outdated
|
||||
if f"{self.module}_{name}" not in self._id_to_attribute:
|
||||
path.unlink()
|
||||
return
|
||||
existing_attribute: CacheAttribute = self._id_to_attribute[f"{self.module}_{name}"]
|
||||
if not existing_attribute.is_valid:
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user