Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
TrustyJAID committed Jul 1, 2023
1 parent a358b2e commit 346eae6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion adventure/converters.py
Original file line number Diff line number Diff line change
Expand Up @@ -811,7 +811,10 @@ def __init__(self, **kwargs):

# Generate choices from the Enum
options = tuple(
set(list(i.name.lower() for i in enum_type.names().keys()) + list(i.lower() for i in enum_type.names().values()))
set(
list(i.name.lower() for i in enum_type.names().keys())
+ list(i.lower() for i in enum_type.names().values())
)
)
kwargs.setdefault("choices", options)

Expand Down

0 comments on commit 346eae6

Please sign in to comment.