mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 05:42:15 +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,
|
||||
attr_plugins=None, new=True
|
||||
):
|
||||
if not host:
|
||||
if host is None:
|
||||
import avalon.api
|
||||
|
||||
host = avalon.api.registered_host()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue