diff --git a/mongita/engines/disk_engine.py b/mongita/engines/disk_engine.py index 0f78d76..8b1cfa3 100644 --- a/mongita/engines/disk_engine.py +++ b/mongita/engines/disk_engine.py @@ -319,7 +319,7 @@ def create_path(self, collection): os.makedirs(full_loc) def close(self): - self._cache = self._cache = Cache(engine = self) + self._cache = Cache(engine = self) self._metadata = {} self._file_attrs = {} for fh in self._collection_fhs.values():