diff options
author | jerous <jerous@gmail.com> | 2008-09-17 01:43:16 +0200 |
---|---|---|
committer | jerous <jerous@gmail.com> | 2008-09-17 01:43:16 +0200 |
commit | 8ca7c3c857894991fa879920ef755c9f68f16b72 (patch) | |
tree | 1a2a26a0551b8c7a6b0ed12162f9a273664e3171 /plugins | |
parent | 72dde1aedfdc5d863843a209926a5f67d44e39da (diff) |
AlbumCover: don't stop fetching at AC_NO_FETCH
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/AlbumCover.py | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/plugins/AlbumCover.py b/plugins/AlbumCover.py index b85c8e7..94ba863 100644 --- a/plugins/AlbumCover.py +++ b/plugins/AlbumCover.py @@ -61,14 +61,12 @@ class wgAlbumCover(QtGui.QWidget): self.img.load('gfx/no-cd-cover.png') for i in xrange(3): src=settings.get('albumcover.fetch%i'%(i), str(i)) - if src==AC_NO_FETCH: - # if we see a NO_FETCH, we don't do any further actions! - break - # (download and) load in self.img from a source! - if self.fetchCoverSrc(song, src): - # ACK! - self.imgLoaded=True - break + if src!=AC_NO_FETCH: + # (download and) load in self.img from a source! + if self.fetchCoverSrc(song, src): + # ACK! + self.imgLoaded=True + break self.update() def fetchCoverSrc(self, song, src): |