diff --git a/tibi_hardlinks/cache.py b/tibi_hardlinks/cache.py index 51d2042..c960106 100644 --- a/tibi_hardlinks/cache.py +++ b/tibi_hardlinks/cache.py @@ -32,8 +32,8 @@ class Cache: stored_data = pickle.load(file) if isinstance(stored_data, dict): self._store = stored_data - else: - self._store = dict() + return + self._store = dict() def store(self): with lzma.open(self.filepath, "wb") as file: