do not store missing task path if task is not set

This commit is contained in:
Jakub Trllo 2024-03-12 11:00:47 +01:00
parent 1550196234
commit cf3d15e51d

View file

@ -203,7 +203,7 @@ class CollectAnatomyInstanceData(pyblish.api.ContextPlugin):
.get(folder_id, {})
.get(task_name)
)
if not task_entity:
if task_name and not task_entity:
folder_path = folder_path_by_id[folder_id]
not_found_task_paths.append(
"/".join([folder_path, task_name])