mirror of
https://github.com/beetbox/beets.git
synced 2026-01-05 23:43:31 +01:00
Merge branch 'master' into echoplus
This commit is contained in:
commit
2a9def94b8
1 changed files with 4 additions and 1 deletions
|
|
@ -55,7 +55,10 @@ def _tags_for(obj):
|
|||
not found or another error occurs.
|
||||
"""
|
||||
try:
|
||||
res = super(pylast.Album, obj).get_top_tags()
|
||||
if isinstance(obj, pylast.Album):
|
||||
res = super(pylast.Album, obj).get_top_tags()
|
||||
else:
|
||||
res = obj.get_top_tags()
|
||||
except PYLAST_EXCEPTIONS as exc:
|
||||
log.debug(u'last.fm error: %s' % unicode(exc))
|
||||
return []
|
||||
|
|
|
|||
Loading…
Reference in a new issue