Skip to content
Snippets Groups Projects
Commit e8cb78c9 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

dd some debuging info when saving avatar fails

parent 2a940051
No related branches found
No related tags found
No related merge requests found
Gajim 0.13.2 ((01 January 2010)
* Fix some translations
* Fix string comparison according to locales
* Fix resizing of groupchat occupant treeview
* Fix some gnomekeyring glitches
* better SRV usage with libasyncns
Gajim 0.13.1 ((28 November 2009)
* Fix a bug when no account exists and bonjour is not available
......
......@@ -790,7 +790,8 @@ default_name = ''):
# Save image
try:
pixbuf.save(file_path, type_)
except Exception:
except Exception, e:
log.debug('Error saving avatar: %s' % str(e))
if os.path.exists(file_path):
os.remove(file_path)
new_file_path = '.'.join(file_path.split('.')[:-1]) + '.jpeg'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment