tiny option-choosing fixes for #518

* 'L' check needs to be lower-case
* letter for 'More candidates' is M, not C
This commit is contained in:
Adrian Sampson 2014-01-31 16:57:07 -08:00
parent 4fe524c0ec
commit 5a35d93b22
2 changed files with 4 additions and 4 deletions

View file

@ -713,7 +713,6 @@ def user_query(session):
task = pipeline.multiple(album_tasks)
continue
# Check for duplicates if we have a match (or ASIS).
if task.choice_flag in (action.ASIS, action.APPLY):
ident = task.chosen_ident()

View file

@ -558,7 +558,7 @@ def choose_candidate(candidates, singleton, rec, cur_artist=None,
raise importer.ImportAbort()
elif sel == 'i':
return importer.action.MANUAL_ID
elif sel == 'L':
elif sel == 'l':
return importer.action.ALBUMS
else: # Numerical selection.
match = candidates[sel - 1]
@ -583,8 +583,9 @@ def choose_candidate(candidates, singleton, rec, cur_artist=None,
opts = ('Apply', 'More candidates', 'Skip', 'Use as-is',
'Enter search', 'enter Id', 'aBort')
else:
opts = ('Apply', 'more Candidates', 'Skip', 'Use as-is',
'as Tracks', 'as aLbums', 'Enter search', 'enter Id', 'aBort')
opts = ('Apply', 'More candidates', 'Skip', 'Use as-is',
'as Tracks', 'as aLbums', 'Enter search', 'enter Id',
'aBort')
default = config['import']['default_action'].as_choice({
'apply': 'a',
'skip': 's',