Skip to content

Commit

Permalink
log spam
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl committed Nov 14, 2024
1 parent e3af449 commit 9c5bfb5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ovos_workshop/skills/ovos.py
Original file line number Diff line number Diff line change
Expand Up @@ -2096,7 +2096,8 @@ def ask_selection(self, options: List[str], dialog: str = '',
Returns:
string: list element selected by user, or None
"""
assert isinstance(options, list)
if not isinstance(options, list):
raise ValueError("invalid value for 'options', must be a list of strings")

if not len(options):
return None
Expand Down

0 comments on commit 9c5bfb5

Please sign in to comment.