From e30a776baaa37a00d1c87f470dbce60c0c5c68a0 Mon Sep 17 00:00:00 2001 From: Adam M Date: Sat, 8 Mar 2014 22:10:37 +0000 Subject: [PATCH] fix iteration over keys instead of values --- beetsplug/echonest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beetsplug/echonest.py b/beetsplug/echonest.py index d0afc3c99..2511eb2a1 100644 --- a/beetsplug/echonest.py +++ b/beetsplug/echonest.py @@ -65,7 +65,7 @@ def diff(item1, item2): fields. """ result = 0.0 - for attr in ATTRIBUTES: + for attr in ATTRIBUTES.values(): if attr == 'bpm': # BPM (tempo) is handled specially to normalize. continue