@kalisp suggestions

This commit is contained in:
Jakub Trllo 2024-03-11 11:53:57 +01:00
parent d4a8ada569
commit a8f9ac5569
2 changed files with 2 additions and 2 deletions

View file

@ -132,7 +132,7 @@ class CollectAnatomyInstanceData(pyblish.api.ContextPlugin):
context_task_entity = context.data.get("taskEntity")
context_task_name = None
if context_task_entity:
context_task_name = context_task_entity["path"]
context_task_name = context_task_entity["name"]
instances_missing_task = {}
folder_path_by_id = {}

View file

@ -57,7 +57,7 @@ class CollectSceneLoadedVersions(pyblish.api.ContextPlugin):
for con in containers:
repre_id = con["representation"]
repre_entity = repre_entities_by_id.get(repre_id)
if repre_doc is None:
if repre_entity is None:
self.log.warning((
"Skipping container,"
" did not find representation document. {}"