[Florob] Make exception handling not cause an exception. Fixes #4125.
This commit is contained in:
parent
0653680203
commit
6cc8cd28e9
|
@ -564,7 +564,7 @@ class HtmlHandler(xml.sax.handler.ContentHandler):
|
|||
try:
|
||||
f = urllib2.urlopen(attrs['src'])
|
||||
except Exception, ex:
|
||||
gajim.log.debug(str('Error loading image %s ' % attrs['src'] + ex))
|
||||
gajim.log.debug('Error loading image %s ' % attrs['src'] + str(ex)))
|
||||
pixbuf = None
|
||||
alt = attrs.get('alt', 'Broken image')
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue