summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
82cab2e)
- If the title/url contains a utf-8 character and we try to decode it it
will fail due to not being present in the ascii set. Feedparser has already
made sure that everything is utf-8 before we get it.
url = u''
for attr in attrs:
if attr[0] == 'alt':
url = u''
for attr in attrs:
if attr[0] == 'alt':
- alt = attr[1].decode('utf-8')
- url = attr[1].decode('utf-8')
if url:
if alt:
if self.images.has_key(alt):
if url:
if alt:
if self.images.has_key(alt):