Skip to content

Commit

Permalink
Fixed duplicate code
Browse files Browse the repository at this point in the history
  • Loading branch information
oliver-s-lee committed Mar 12, 2024
1 parent 3838611 commit 73d1aef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mongita/engines/disk_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down

0 comments on commit 73d1aef

Please sign in to comment.