mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
normalize when workdir is received from session
This commit is contained in:
parent
3bf3c0bab4
commit
a2b8df6964
1 changed files with 4 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue