Skip to content

Commit 3c52659

Browse files
committed
refactor(settings): lazy evaluating str_options_fields
1 parent 2fe0a70 commit 3c52659

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/settings.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -450,10 +450,10 @@ async def embed(self) -> discore.Embed:
450450
)
451451

452452
str_options_fields = group_join(
453-
[
453+
(
454454
(' - ' if indented else '- ') + t(f'settings.{id}.state.{l(state)}',
455455
**{'element': display_value, 'details': ''})
456-
for id, display_value, state, indented in options],
456+
for id, display_value, state, indented in options),
457457
1024
458458
)
459459

0 commit comments

Comments
 (0)