Use https URLs when falling back to gravatar for profile pictures. Fixes #135
This commit is contained in:
parent
60916282d5
commit
a21ae854ba
1 changed files with 1 additions and 1 deletions
|
@ -208,7 +208,7 @@ def _getUserProfile(self):
|
|||
if self.email:
|
||||
h = hashlib.md5()
|
||||
h.update(bytearray(profile.user.email, 'utf8'))
|
||||
profile.avatar = 'http://www.gravatar.com/avatar/%s.jpg?d=mm' % h.hexdigest()
|
||||
profile.avatar = 'https://www.gravatar.com/avatar/%s.jpg?d=mm' % h.hexdigest()
|
||||
|
||||
profile.save()
|
||||
|
||||
|
|
Loading…
Reference in a new issue