Skip to content
Snippets Groups Projects
Commit fe9a0c6f authored by ale's avatar ale
Browse files

fix error introduced in previous commit

parent fe6c8c0f
No related branches found
No related tags found
No related merge requests found
......@@ -82,9 +82,8 @@ class AlbumImageRetriever(object):
img = xp(xml)
if img:
self.cache.download(artist, album, img[0].text)
else:
self.cache.set_negative_match(artist, album)
except:
self.cache.set_negative_match(artist, album)
continue
break
return self.cache.get(artist, album)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment