diff --git a/antarest/launcher/service.py b/antarest/launcher/service.py index f588e51d15..9ae3f0028e 100644 --- a/antarest/launcher/service.py +++ b/antarest/launcher/service.py @@ -571,6 +571,8 @@ def _import_output( finally: if zip_path: os.unlink(zip_path) + if output_is_zipped: + os.unlink(output_true_path) raise JobNotFound() def _download_fallback_output(self, job_id: str, params: RequestParameters) -> FileDownloadTaskDTO: