projects
/
jamaendo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added 'helldon' to transparently port the thing to the desktop :P
[jamaendo]
/
jamaendo
/
api.py
diff --git
a/jamaendo/api.py
b/jamaendo/api.py
index
feeb17d
..
7792c33
100644
(file)
--- a/
jamaendo/api.py
+++ b/
jamaendo/api.py
@@
-277,6
+277,9
@@
class CoverFetcher(threading.Thread):
self.work = []
def _retrieve(self, url, fname):
+ BROKEN = 'http://imgjam.com/radios/default/default.100.png'
+ if url == BROKEN:
+ return None
f = open(fname, 'wb')
c = pycurl.Curl()
c.setopt(pycurl.FOLLOWLOCATION, 1)