mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
Merge pull request #4262 from pypeclub/bugfix/anatomy_site_name
This commit is contained in:
commit
7f7585da93
1 changed files with 2 additions and 1 deletions
|
|
@ -61,7 +61,8 @@ class BaseAnatomy(object):
|
|||
project_name = project_doc["name"]
|
||||
self.project_name = project_name
|
||||
|
||||
if site_name not in ["studio", "local", get_local_site_id()]:
|
||||
if (site_name and
|
||||
site_name not in ["studio", "local", get_local_site_id()]):
|
||||
raise RuntimeError("Anatomy could be created only for default "
|
||||
"local sites not for {}".format(site_name))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue