From 555ea83cbaee122d67c2b9cb1f2b724c5b0241fe Mon Sep 17 00:00:00 2001 From: Kayla Man Date: Thu, 29 Aug 2024 17:59:40 +0800 Subject: [PATCH] make sure instance members are always list value --- client/ayon_unreal/api/plugin.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/ayon_unreal/api/plugin.py b/client/ayon_unreal/api/plugin.py index 5467ddfa..d001cf2d 100644 --- a/client/ayon_unreal/api/plugin.py +++ b/client/ayon_unreal/api/plugin.py @@ -81,6 +81,8 @@ def _default_collect_instances(self): instance.get('creator_attributes', '{}')) instance['publish_attributes'] = ast.literal_eval( instance.get('publish_attributes', '{}')) + instance['members'] = ast.literal_eval( + instance.get('members', '[]')) created_instance = CreatedInstance.from_existing(instance, self) self._add_instance_to_context(created_instance)