From 4a8d69c26886eb5525545ba0e937b754676b0588 Mon Sep 17 00:00:00 2001 From: Kayla Man Date: Thu, 26 Sep 2024 21:42:49 +0800 Subject: [PATCH] make sure the instance name is being collected --- client/ayon_maya/plugins/publish/extract_layout.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/client/ayon_maya/plugins/publish/extract_layout.py b/client/ayon_maya/plugins/publish/extract_layout.py index 33b5348a..bf16887e 100644 --- a/client/ayon_maya/plugins/publish/extract_layout.py +++ b/client/ayon_maya/plugins/publish/extract_layout.py @@ -49,8 +49,7 @@ def process(self, instance): json_data = [] # TODO representation queries can be refactored to be faster project_name = instance.context.data["projectName"] - - members = instance.data["setMembers"] + members = [member.lstrip('|') for member in instance.data["setMembers"]] for asset in members: # Find the container project_container = self.project_container