diff --git a/client/ayon_core/plugins/publish/collect_anatomy_instance_data.py b/client/ayon_core/plugins/publish/collect_anatomy_instance_data.py index 354d877b62..677ebb04a2 100644 --- a/client/ayon_core/plugins/publish/collect_anatomy_instance_data.py +++ b/client/ayon_core/plugins/publish/collect_anatomy_instance_data.py @@ -116,11 +116,11 @@ class CollectAnatomyInstanceData(pyblish.api.ContextPlugin): if not_found_folder_paths: joined_folder_paths = ", ".join( - ["\"{}\"".format(path) for path in not_found_folder_paths] + [f"\"{path}\"" for path in not_found_folder_paths] + ) + self.log.warning( + f"Not found folder entities with paths {joined_folder_paths}." ) - self.log.warning(( - "Not found folder entities with paths \"{}\"." - ).format(joined_folder_paths)) def fill_missing_task_entities(self, context, project_name): self.log.debug("Querying task entities for instances.")