summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <wyskas@gmail.com>2010-08-09 18:49:53 +0200
committerAnton Khirnov <wyskas@gmail.com>2010-08-09 18:50:29 +0200
commit2084202871acffe0ce817b361440deea81af3552 (patch)
tree8ee29d445c56675f50cbeb59c67a134af82d2570
parent0201d08def5ce04749dca8dc16889cea00e5b32a (diff)
AlbumCover: add a forgotten 'not'
-rw-r--r--nephilim/plugins/AlbumCover.py2
1 files changed, 1 insertions, 1 deletions
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'),