[IMP] Typo in comment

bzr revid: tde@openerp.com-20120330083420-5swr4h9ihayi7vpu
This commit is contained in:
Thibault Delavallée 2012-03-30 10:34:20 +02:00
parent 0204b5f1a9
commit 49d8f42586
1 changed files with 1 additions and 1 deletions

View File

@ -390,7 +390,7 @@ class users(osv.osv):
return result
def _get_avatar(self, cr, uid, context=None):
# default avatar file name: avatar0 -> avatar6.jpg, choose randomly
# default avatar file name: avatar0 -> avatar6.png, choose randomly
avatar_path = openerp.modules.get_module_resource('base', 'static/src/img', 'avatar%d.png' % random.randint(0, 6))
return self._avatar_resize(cr, uid, open(avatar_path, 'rb').read().encode('base64'), context=context)