Workaround for pylast issue https://code.google.com/p/pylast/issues/detail?id=85 as suggested by @sampsyo

This commit is contained in:
Peter Schnebel 2013-10-16 08:45:13 +02:00
parent c5896684f3
commit d339e2f815

View file

@ -55,7 +55,7 @@ def _tags_for(obj):
not found or another error occurs.
"""
try:
res = obj.get_top_tags()
res = super(pylast.Album, obj).get_top_tags()
except PYLAST_EXCEPTIONS as exc:
log.debug(u'last.fm error: %s' % unicode(exc))
return []