Skip to content

Commit

Permalink
Merge pull request #127 from ynput/bugfix/extract_layout_result_empty…
Browse files Browse the repository at this point in the history
…_publish

Make sure extract layout does not publish empty json
  • Loading branch information
moonyuet authored Sep 30, 2024
2 parents 95c952d + e747245 commit 4900172
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions client/ayon_maya/plugins/publish/extract_layout.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4900172

Please sign in to comment.