mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Merge pull request #4445 from ynput/feature/project_code_on_anatomy
General: Add project code to anatomy
This commit is contained in:
commit
06b55c261d
1 changed files with 1 additions and 0 deletions
|
|
@ -60,6 +60,7 @@ class BaseAnatomy(object):
|
|||
def __init__(self, project_doc, local_settings, site_name):
|
||||
project_name = project_doc["name"]
|
||||
self.project_name = project_name
|
||||
self.project_code = project_doc["data"]["code"]
|
||||
|
||||
if (site_name and
|
||||
site_name not in ["studio", "local", get_local_site_id()]):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue