Author: js Date: 2008-07-25 04:12:21 +0200 (Fri, 25 Jul 2008) New Revision: 10028
Modified: trunk/src/htmltextview.py Log: [Florob] Make exception handling not cause an exception. Fixes #4125.
Modified: trunk/src/htmltextview.py =================================================================== --- trunk/src/htmltextview.py 2008-07-25 01:16:30 UTC (rev 10027) +++ trunk/src/htmltextview.py 2008-07-25 02:12:21 UTC (rev 10028) @@ -564,7 +564,7 @@ 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: