diff --git a/antarest/study/storage/rawstudy/model/filesystem/inode.py b/antarest/study/storage/rawstudy/model/filesystem/inode.py index cf4aa13e0a..f88903c729 100644 --- a/antarest/study/storage/rawstudy/model/filesystem/inode.py +++ b/antarest/study/storage/rawstudy/model/filesystem/inode.py @@ -152,7 +152,7 @@ def _extract_file_to_tmp_dir( raise ShouldNotHappenException() inside_archive_path = self.config.path.relative_to(self.config.archive_path.parent / self.config.study_id) if self.config.archive_path: - return extract_file_to_tmp_dir(self.config.archive_path, Path(inside_archive_path)) + return extract_file_to_tmp_dir(self.config.archive_path, inside_archive_path) else: raise ShouldNotHappenException()