Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
nicklambourne committed Feb 26, 2024
1 parent 9ba54b7 commit 03a28f7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion slackblocks/elements.py
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,9 @@ def __init__(
if (
option_groups
and self.initial_options
and not all(isinstance(option, OptionGroup) for option in self.initial_options)
and not all(
isinstance(option, OptionGroup) for option in self.initial_options
)
):
raise InvalidUsageError(
"If using `option_groups` then `initial_options` must also be of type "
Expand Down

0 comments on commit 03a28f7

Please sign in to comment.