mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
Update openpype/pipeline/temporarydir.py
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
This commit is contained in:
parent
da46873cbc
commit
87f9cf09d7
1 changed files with 1 additions and 2 deletions
|
|
@ -38,10 +38,9 @@ def create_custom_tempdir(project_name, anatomy=None, formating_data=None):
|
|||
}
|
||||
if formating_data is None:
|
||||
# We still don't have `project_code` on Anatomy...
|
||||
project_doc = anatomy.get_project_doc_from_cache(project_name)
|
||||
data["project"] = {
|
||||
"name": project_name,
|
||||
"code": project_doc["data"]["code"],
|
||||
"code": anatomy.project_code,
|
||||
}
|
||||
else:
|
||||
data["project"] = formating_data["project"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue