mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
fixed case where host in context doesn't exists yet
This commit is contained in:
parent
f769acda5a
commit
1d0375f13d
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ class CollectSceneVersion(pyblish.api.ContextPlugin):
|
|||
label = 'Collect Version'
|
||||
|
||||
def process(self, context):
|
||||
if "standalonepublisher" in context.data.get("host"):
|
||||
if "standalonepublisher" in context.data.get("host", []):
|
||||
return
|
||||
|
||||
filename = os.path.basename(context.data.get('currentFile'))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue