From 2084202871acffe0ce817b361440deea81af3552 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Mon, 9 Aug 2010 18:49:53 +0200 Subject: AlbumCover: add a forgotten 'not' --- nephilim/plugins/AlbumCover.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nephilim/plugins/AlbumCover.py b/nephilim/plugins/AlbumCover.py index 8d7f8dc..cb4bf1e 100644 --- a/nephilim/plugins/AlbumCover.py +++ b/nephilim/plugins/AlbumCover.py @@ -320,7 +320,7 @@ class FetcherLastfm(common.MetadataFetcher): name = 'Last.fm' def fetch(self, song): - if not 'artist' in song or 'album' in song: + if not 'artist' in song or not 'album' in song: return self.finish() url = QtCore.QUrl('http://ws.audioscrobbler.com/2.0/') url.setQueryItems([('api_key', 'beedb2a8a0178b8059cd6c7e57fbe428'), -- cgit v1.2.3