From 6cc8cd28e963c3f029ebe664d1b4a8cda4f9ae8e Mon Sep 17 00:00:00 2001 From: js Date: Fri, 25 Jul 2008 02:12:21 +0000 Subject: [PATCH] [Florob] Make exception handling not cause an exception. Fixes #4125. --- src/htmltextview.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/htmltextview.py b/src/htmltextview.py index 11d336c59..66fa0a14e 100644 --- a/src/htmltextview.py +++ b/src/htmltextview.py @@ -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: