Skip to content

Commit

Permalink
🐛(ozi-new interactive): fix list argument rendering
Browse files Browse the repository at this point in the history
Signed-off-by: rjdbcm <[email protected]>
  • Loading branch information
rjdbcm committed Jun 28, 2024
1 parent a12a70c commit 0becd2e
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions ozi/new/interactive.py
Original file line number Diff line number Diff line change
Expand Up @@ -933,13 +933,9 @@ def menu_loop(
'topic',
):
classifier = classifier_checkboxlist(x)
output += chain.from_iterable(
(
[[f'--{x}', c] for c in classifier]
if classifier
else []
),
)
if classifier:
for c in classifier:
output += [f'--{x}', c]
prefix.update(
(
{
Expand Down

0 comments on commit 0becd2e

Please sign in to comment.