normalize when workdir is received from session

This commit is contained in:
Jakub Trllo 2022-06-30 18:04:45 +02:00
parent 3bf3c0bab4
commit a2b8df6964

View file

@ -768,7 +768,10 @@ def get_workdir_from_session(session=None, template_key=None):
host_name,
project_name=project_name
)
return anatomy_filled[template_key]["folder"]
path = anatomy_filled[template_key]["folder"]
if path:
path = os.path.normpath(path)
return path
@with_pipeline_io