mirror of
https://github.com/beetbox/beets.git
synced 2025-12-06 16:42:42 +01:00
Silly oversight in fix for #1551
This commit is contained in:
parent
ebf98d7bf0
commit
f6ecbf659f
1 changed files with 1 additions and 1 deletions
|
|
@ -259,7 +259,7 @@ class DuplicatesPlugin(BeetsPlugin):
|
|||
return v is not None and \
|
||||
(v != '' if isinstance(v, unicode) else True)
|
||||
fields = kind.all_keys()
|
||||
key = lambda x: sum(1 for f in fields if truthy(f))
|
||||
key = lambda x: sum(1 for f in fields if truthy(getattr(x, f)))
|
||||
else:
|
||||
key = lambda x: len(x.items())
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue