diff --git a/antarest/study/storage/abstract_storage_service.py b/antarest/study/storage/abstract_storage_service.py index 49e3ec15b3..7b68c2fd07 100644 --- a/antarest/study/storage/abstract_storage_service.py +++ b/antarest/study/storage/abstract_storage_service.py @@ -298,8 +298,6 @@ def export_study(self, metadata: T, target: Path, outputs: bool = True) -> Path: self.export_study_flat(metadata, tmp_study_path, outputs) stopwatch = StopWatch() archive_dir(tmp_study_path, target, archive_format=ArchiveFormat.SEVEN_ZIP) - with py7zr.SevenZipFile(target, "w") as szf: - szf.writeall(tmp_study_path, arcname="") stopwatch.log_elapsed(lambda x: logger.info(f"Study {path_study} exported (7zip mode) in {x}s")) return target