diff --git a/CHANGELOG.md b/CHANGELOG.md index 07a2828e..0d7967d9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -35,6 +35,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Exception `DataCloneError: The object could not be cloned` () - Fixed extension comparison in task frames CLI () - Incorrect work when copy job list with "Copy" button () +- Manifest removing () ### Security diff --git a/utils/dataset_manifest/core.py b/utils/dataset_manifest/core.py index bb39f801..59090e2d 100644 --- a/utils/dataset_manifest/core.py +++ b/utils/dataset_manifest/core.py @@ -379,8 +379,8 @@ class _ManifestManager(ABC): def remove(self): self.reset_index() - if os.path.exists(self.path): - os.remove(self.path) + if os.path.exists(self.manifest.path): + os.remove(self.manifest.path) @abstractmethod def create(self, content=None, _tqdm=None):