From 6c92eb513f720cc68523ee8d1aee03348229cf2b Mon Sep 17 00:00:00 2001 From: Kayla Man Date: Mon, 1 Jul 2024 12:22:47 +0800 Subject: [PATCH] make sure the parsed file is string value inside resources['files'] --- .../client/ayon_maya/plugins/publish/collect_yeti_rig.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/server_addon/maya/client/ayon_maya/plugins/publish/collect_yeti_rig.py b/server_addon/maya/client/ayon_maya/plugins/publish/collect_yeti_rig.py index fa09e60d45..6ec691d156 100644 --- a/server_addon/maya/client/ayon_maya/plugins/publish/collect_yeti_rig.py +++ b/server_addon/maya/client/ayon_maya/plugins/publish/collect_yeti_rig.py @@ -284,8 +284,9 @@ class CollectYetiRig(plugin.MayaInstancePlugin): files, patterns=[clique.PATTERNS["frames"]], minimum_items=1) - - return collection + files = [texture for texture_collection in collection + for texture in texture_collection] + return files def _replace_tokens(self, strings): env_re = re.compile(r"\$\{(\w+)\}")