mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
have information about project code on anatomy
This commit is contained in:
parent
7afbd4b9de
commit
0fdb957a4e
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):
|
def __init__(self, project_doc, local_settings, site_name):
|
||||||
project_name = project_doc["name"]
|
project_name = project_doc["name"]
|
||||||
self.project_name = project_name
|
self.project_name = project_name
|
||||||
|
self.project_code = project_doc["data"]["code"]
|
||||||
|
|
||||||
if (site_name and
|
if (site_name and
|
||||||
site_name not in ["studio", "local", get_local_site_id()]):
|
site_name not in ["studio", "local", get_local_site_id()]):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue