changed prompt for input_select_items

moved question mark and removed word "item"
This commit is contained in:
Peter Kessen 2016-02-03 18:43:26 +01:00
parent 8412bd0f23
commit f550dfecf1

View file

@ -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