Changeset 10028

Show
Ignore:
Timestamp:
07/25/08 04:12:21 (4 months ago)
Author:
js
Message:

[Florob] Make exception handling not cause an exception. Fixes #4125.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/htmltextview.py

    r9342 r10028  
    565565                                f = urllib2.urlopen(attrs['src'])  
    566566                        except Exception, ex:  
    567                                 gajim.log.debug(str('Error loading image %s ' % attrs['src'] + ex))  
     567                                gajim.log.debug('Error loading image %s ' % attrs['src']  + str(ex))) 
    568568                                pixbuf = None  
    569569                                alt = attrs.get('alt', 'Broken image')