mirror of
https://github.com/beetbox/beets.git
synced 2025-12-07 09:04:33 +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 \
|
return v is not None and \
|
||||||
(v != '' if isinstance(v, unicode) else True)
|
(v != '' if isinstance(v, unicode) else True)
|
||||||
fields = kind.all_keys()
|
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:
|
else:
|
||||||
key = lambda x: len(x.items())
|
key = lambda x: len(x.items())
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue