mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
explicit check of host attribute
This commit is contained in:
parent
f6daa24542
commit
82ba630bf8
1 changed files with 1 additions and 1 deletions
|
|
@ -324,7 +324,7 @@ class CreatedInstance:
|
||||||
self, family, subset_name, data=None, creator=None, host=None,
|
self, family, subset_name, data=None, creator=None, host=None,
|
||||||
attr_plugins=None, new=True
|
attr_plugins=None, new=True
|
||||||
):
|
):
|
||||||
if not host:
|
if host is None:
|
||||||
import avalon.api
|
import avalon.api
|
||||||
|
|
||||||
host = avalon.api.registered_host()
|
host = avalon.api.registered_host()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue