fix iteration over keys instead of values

This commit is contained in:
Adam M 2014-03-08 22:10:37 +00:00
parent ef36890a4e
commit e30a776baa

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