Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions sc_explorer_cli/sc_explorer_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,8 +311,8 @@ def verify(self, key=None, cla=0x00) -> Self:
Self: This instance
"""

if key is not None and not isinstance(key, str):
raise ValueError("Argument `key` must be str.")
if key is not None and not (isinstance(key, str) or isinstance(key, int)):
raise ValueError("Argument `key` must be str or int.")
if not isinstance(cla, int):
raise ValueError("Argument `cla` must be int.")

Expand Down