mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
normalize workdir
This commit is contained in:
parent
b4daf3bf76
commit
728bfd6571
1 changed files with 4 additions and 1 deletions
|
|
@ -604,7 +604,10 @@ def get_workdir_with_workdir_data(
|
||||||
|
|
||||||
anatomy_filled = anatomy.format(workdir_data)
|
anatomy_filled = anatomy.format(workdir_data)
|
||||||
# Output is TemplateResult object which contain useful data
|
# Output is TemplateResult object which contain useful data
|
||||||
return anatomy_filled[template_key]["folder"]
|
path = anatomy_filled[template_key]["folder"]
|
||||||
|
if path:
|
||||||
|
path = os.path.normpath(path)
|
||||||
|
return path
|
||||||
|
|
||||||
|
|
||||||
def get_workdir(
|
def get_workdir(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue