mirror of
https://github.com/beetbox/beets.git
synced 2026-02-08 08:25:23 +01:00
commit
6e8f06679c
1 changed files with 1 additions and 1 deletions
|
|
@ -357,7 +357,7 @@ def _add_candidate(items, results, info):
|
|||
dist = distance(items, info, mapping)
|
||||
|
||||
# Skip matches with ignored penalties.
|
||||
penalties = [key for _, key in dist]
|
||||
penalties = [key for key, _ in dist]
|
||||
for penalty in config['match']['ignored'].as_str_seq():
|
||||
if penalty in penalties:
|
||||
log.debug(u'Ignored. Penalty: {0}', penalty)
|
||||
|
|
|
|||
Loading…
Reference in a new issue