Skip to content

Commit d7660f7

Browse files
committed
Refined prompt_choices
1 parent 1ddc0f0 commit d7660f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flask_script/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def prompt_choices(name, choices, default=None, resolve=ascii_lowercase,
8787
_choices.append(choice)
8888

8989
while True:
90-
rv = prompt(name + ' - (%s)' % ', '.join(options), default=default)
90+
rv = prompt(name + ' - (%s)' % ', '.join(options), default)
9191
rv = resolve(rv)
9292
if rv in no_choice:
9393
return None

0 commit comments

Comments
 (0)