Skip to content

Commit

Permalink
Revert "Fix plugins returning empty list"
Browse files Browse the repository at this point in the history
This reverts commit 5ccdfc2.
  • Loading branch information
kalisp committed Nov 21, 2024
1 parent 5ccdfc2 commit 0c57779
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions client/ayon_core/tools/pyblish_pype/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -780,8 +780,6 @@ def restore_checkstates(self):

def update_with_result(self, result):
instance = result["instance"]
if isinstance(instance, list):
instance = instance.pop() if instance else None
if instance is None:
instance_id = self.controller.context.id
else:
Expand Down Expand Up @@ -978,8 +976,6 @@ def prepare_records(self, result, suspend_logs):
prepared_records = []
instance_name = None
instance = result["instance"]
if isinstance(instance, list):
instance = instance.pop() if instance else None
if instance is not None:
instance_name = instance.data["name"]

Expand Down

0 comments on commit 0c57779

Please sign in to comment.