From 8c8205a4e6406e07b131433ce00c1fb3014cb85c Mon Sep 17 00:00:00 2001 From: Roy Nieterau Date: Mon, 17 Feb 2025 16:11:51 +0100 Subject: [PATCH 1/2] Fix doubled quotes around outer elements --- .../plugins/publish/collect_anatomy_instance_data.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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..a86ef3f24c 100644 --- a/client/ayon_core/plugins/publish/collect_anatomy_instance_data.py +++ b/client/ayon_core/plugins/publish/collect_anatomy_instance_data.py @@ -116,10 +116,10 @@ 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(( - "Not found folder entities with paths \"{}\"." + "Not found folder entities with paths {}." ).format(joined_folder_paths)) def fill_missing_task_entities(self, context, project_name): From 5564863371d896f60cf8459ffeeed7f7f5848c45 Mon Sep 17 00:00:00 2001 From: Roy Nieterau Date: Mon, 17 Feb 2025 16:12:15 +0100 Subject: [PATCH 2/2] Cosmetics --- .../plugins/publish/collect_anatomy_instance_data.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 a86ef3f24c..677ebb04a2 100644 --- a/client/ayon_core/plugins/publish/collect_anatomy_instance_data.py +++ b/client/ayon_core/plugins/publish/collect_anatomy_instance_data.py @@ -118,9 +118,9 @@ class CollectAnatomyInstanceData(pyblish.api.ContextPlugin): joined_folder_paths = ", ".join( [f"\"{path}\"" for path in not_found_folder_paths] ) - self.log.warning(( - "Not found folder entities with paths {}." - ).format(joined_folder_paths)) + self.log.warning( + f"Not found folder entities with paths {joined_folder_paths}." + ) def fill_missing_task_entities(self, context, project_name): self.log.debug("Querying task entities for instances.")