mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
'get_workdir_with_workdir_data' returns 'TemplateResult'
This commit is contained in:
parent
fca8030092
commit
37a02fe8e1
1 changed files with 1 additions and 4 deletions
|
|
@ -582,10 +582,7 @@ def get_workdir_with_workdir_data(
|
|||
|
||||
anatomy_filled = anatomy.format(workdir_data)
|
||||
# Output is TemplateResult object which contain useful data
|
||||
path = anatomy_filled[template_key]["folder"]
|
||||
if path:
|
||||
path = os.path.normpath(path)
|
||||
return path
|
||||
return anatomy_filled[template_key]["folder"]
|
||||
|
||||
|
||||
def get_workdir(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue