No usuable message here

This commit is contained in:
Jean-Marie Traissard 2007-05-14 07:09:57 +00:00
parent 2052410b3c
commit 320b500941

View file

@ -157,7 +157,7 @@ class ProfileWindow:
# rescale it # rescale it
pixbuf = gtkgui_helpers.get_scaled_pixbuf(pixbuf, 'vcard') pixbuf = gtkgui_helpers.get_scaled_pixbuf(pixbuf, 'vcard')
except AttributeError: # unknown format except AttributeError: # unknown format
dialogs.ErrorDialog(_('Could not load image'), msg) dialogs.ErrorDialog(_('Could not load image'))
return return
self.dialog.destroy() self.dialog.destroy()
button = self.xml.get_widget('PHOTO_button') button = self.xml.get_widget('PHOTO_button')