From 1fdeede10d0a3a45e375c084e804c1ca01669425 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sun, 4 Sep 2011 20:17:03 +0200 Subject: AlbumCover: fix an exception in last.fm fetcher. --- nephilim/plugins/AlbumCover.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nephilim/plugins/AlbumCover.py b/nephilim/plugins/AlbumCover.py index 6de4519..b4302bc 100644 --- a/nephilim/plugins/AlbumCover.py +++ b/nephilim/plugins/AlbumCover.py @@ -361,7 +361,8 @@ class FetcherLastfm(metadata_fetcher.MetadataFetcher): pixmap = QtGui.QPixmap() if pixmap.loadFromData(data): self.finish(pixmap) - self.finish() + else: + self.finish() class FetcherLocal(QtCore.QObject): """This fetcher tries to find cover files in the same directory as -- cgit v1.2.3