mirror of
https://github.com/beetbox/beets.git
synced 2026-01-03 22:42:44 +01:00
fix crash on 0 chroma matches for singleton
This commit is contained in:
parent
1baf49b333
commit
5a9cc6a2d9
1 changed files with 1 additions and 1 deletions
|
|
@ -138,7 +138,7 @@ class AcoustidPlugin(plugins.BeetsPlugin):
|
|||
|
||||
def item_candidates(self, item):
|
||||
if item.path not in _matches:
|
||||
return 0.0, 0.0
|
||||
return []
|
||||
|
||||
recording_id, _ = _matches[item.path]
|
||||
track = hooks._track_for_id(recording_id)
|
||||
|
|
|
|||
Loading…
Reference in a new issue