Fix to use of folksonomy tags from tracks/recordings as genre

http://bugs.musicbrainz.org/ticket/5947
This commit is contained in:
Chad Wilson
2011-07-02 22:10:10 -05:00
committed by Michael Wiencek

View File

@@ -171,7 +171,7 @@ class Track(DataObject):
def _convert_folksonomy_tags_to_genre(self, ignore_tags):
# Combine release and track tags
tags = dict(self.album.folksonomy_tags)
tags = dict(self.folksonomy_tags)
for name, count in self.album.folksonomy_tags.iteritems():
tags.setdefault(name, 0)
tags[name] += count