mirror of
https://github.com/beetbox/beets.git
synced 2025-12-27 02:52:33 +01:00
changed prompt for input_select_items
moved question mark and removed word "item"
This commit is contained in:
parent
8412bd0f23
commit
f550dfecf1
1 changed files with 2 additions and 2 deletions
|
|
@ -379,14 +379,14 @@ def input_select_items(prompt, items, rep):
|
|||
out_items = []
|
||||
choice = input_options(
|
||||
('y', 'n', 's'), False,
|
||||
'%s (Yes/No/Select items)?' % prompt)
|
||||
'%s? (Yes/no/select)' % prompt)
|
||||
print()
|
||||
if choice == 'y':
|
||||
out_items = items
|
||||
elif choice == 's':
|
||||
for item in items:
|
||||
rep(item)
|
||||
if input_yn('%s (y/n)?' % prompt, True):
|
||||
if input_yn('%s? (yes/no)' % prompt, True):
|
||||
out_items.append(item)
|
||||
print()
|
||||
return out_items
|
||||
|
|
|
|||
Loading…
Reference in a new issue