diff --git a/portal/service/submissions.py b/portal/service/submissions.py index 486fd5f94e89396c2c6791a05081127d451f3b4c..16f5de525fd145a0cf550e51b8183f4adf72d1a3 100644 --- a/portal/service/submissions.py +++ b/portal/service/submissions.py @@ -152,7 +152,7 @@ def send_zip(storage_submission: entities.Submission): def send_selected_file(storage_submission: entities.Submission, path_query: str): - path = storage_submission.base_dir / Path(path_query) + path = storage_submission.path / Path(path_query) if not path.exists(): raise errors.PortalAPIError(400, f"Requested path does not exist: {path}") log.debug(f"[SEND] Sending file for submission ({storage_submission.entity_id}): {path}")