From 82ba630bf8af9700a3497d6270a152be63099678 Mon Sep 17 00:00:00 2001 From: iLLiCiTiT Date: Tue, 14 Sep 2021 14:13:58 +0200 Subject: [PATCH] explicit check of host attribute --- openpype/pipeline/create/context.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openpype/pipeline/create/context.py b/openpype/pipeline/create/context.py index 771a4e8acb..c506de49fb 100644 --- a/openpype/pipeline/create/context.py +++ b/openpype/pipeline/create/context.py @@ -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()