Skip to content
Snippets Groups Projects
Verified Commit cebe0aa4 authored by Peter Stanko's avatar Peter Stanko
Browse files

Fixed path

parent 99a7a2f8
No related branches found
No related tags found
1 merge request!12Codename
......@@ -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}")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment