summaryrefslogtreecommitdiff
path: root/nephilim/plugins/AlbumCover.py
diff options
context:
space:
mode:
Diffstat (limited to 'nephilim/plugins/AlbumCover.py')
-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'),