Skip to content

Commit

Permalink
check binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
gesellkammer committed May 9, 2024
1 parent a3f852e commit 68ed65d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion risset.py
Original file line number Diff line number Diff line change
Expand Up @@ -742,7 +742,7 @@ class Plugin:
assets: list[Asset] | None = None

def __post_init__(self):
assert isinstance(self.binaries, list)
assert isinstance(self.binaries, list) and all(isinstance(b, Binary) for b in self.binaries)
assert isinstance(self.opcodes, list)
assert not self.assets or isinstance(self.assets, list)

Expand Down

0 comments on commit 68ed65d

Please sign in to comment.