mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
fix return value of 'get_instance_staging_dir'
This commit is contained in:
parent
f29f45c380
commit
fb0ec16bf3
1 changed files with 2 additions and 1 deletions
|
|
@ -443,8 +443,9 @@ def get_instance_staging_dir(instance):
|
|||
|
||||
staging_dir = instance.data.get("stagingDir")
|
||||
if not staging_dir:
|
||||
instance.data["stagingDir"] = os.path.normpath(
|
||||
staging_dir = os.path.normpath(
|
||||
tempfile.mkdtemp(prefix="pyblish_tmp_")
|
||||
)
|
||||
instance.data["stagingDir"] = staging_dir
|
||||
|
||||
return staging_dir
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue