From 0ff15c5c4db660cbecbaaa71b42f049db12616f4 Mon Sep 17 00:00:00 2001 From: Peter Schnebel Date: Wed, 16 Oct 2013 11:35:26 +0200 Subject: [PATCH] The way of the impatient is filled with useless commits :( --- beetsplug/lastgenre/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beetsplug/lastgenre/__init__.py b/beetsplug/lastgenre/__init__.py index ddb295acd..2b4452ab3 100644 --- a/beetsplug/lastgenre/__init__.py +++ b/beetsplug/lastgenre/__init__.py @@ -55,7 +55,7 @@ def _tags_for(obj): not found or another error occurs. """ try: - if isinstance(el, pylast.Album): + if isinstance(obj, pylast.Album): res = super(pylast.Album, obj).get_top_tags() else: res = obj.get_top_tags()