mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
normalize path from get_workdir where needed
This commit is contained in:
parent
7fbbc0ef2d
commit
fca8030092
2 changed files with 5 additions and 2 deletions
|
|
@ -324,5 +324,7 @@ class IntegrateBatchGroup(pyblish.api.InstancePlugin):
|
|||
project_doc = instance.data["projectEntity"]
|
||||
asset_entity = instance.data["assetEntity"]
|
||||
|
||||
return get_workdir(
|
||||
project_doc, asset_entity, task_data["name"], "flame")
|
||||
workdir = get_workdir(
|
||||
project_doc, asset_entity, task_data["name"], "flame"
|
||||
)
|
||||
return os.path.normpath(workdir)
|
||||
|
|
|
|||
|
|
@ -1638,6 +1638,7 @@ def prepare_context_environments(data, env_group=None):
|
|||
"Error in anatomy.format: {}".format(str(exc))
|
||||
)
|
||||
|
||||
workdir = os.path.normpath(workdir)
|
||||
if not os.path.exists(workdir):
|
||||
log.debug(
|
||||
"Creating workdir folder: \"{}\"".format(workdir)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue