mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 22:02:15 +01:00
udpate nuke template filling to match unified templates
This commit is contained in:
parent
bf7d25fd94
commit
3cd832a5eb
2 changed files with 2 additions and 2 deletions
|
|
@ -70,7 +70,7 @@ def format_anatomy(data):
|
|||
data.update({
|
||||
"hierarchy": pype.get_hierarchy(),
|
||||
"frame": "#"*padding,
|
||||
"VERSION": pype.get_version_from_path(file)
|
||||
"version": pype.get_version_from_path(file)
|
||||
})
|
||||
|
||||
# log.info("format_anatomy:anatomy: {}".format(anatomy))
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ def get_project_code():
|
|||
string: project code
|
||||
"""
|
||||
|
||||
return io.find_one({"type": "project"})["data"]["code"]
|
||||
return io.find_one({"type": "project"})["data"].get("code", '')
|
||||
|
||||
|
||||
def set_project_code(code):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue