Merge pull request #596 from a9y/master

fix iteration over keys instead of values
This commit is contained in:
Adrian Sampson 2014-03-08 14:16:12 -08:00
commit ba2d7ce53c

View file

@ -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