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

Merge branch 'master' of https://git.autistici.org/djrandom

parents 4f3d9374 fe9a0c6f
Branches
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