diff --git a/core/models.py b/core/models.py index 69c28083..cbc85797 100755 --- a/core/models.py +++ b/core/models.py @@ -2367,7 +2367,7 @@ class UserProfile(models.Model): def unglueitar(self): # construct the url - gravatar_url = "https://www.gravatar.com/avatar/" + hashlib.md5(self.user.username.encode('utf-8')) + '@unglue.it').hexdigest() + "?" + gravatar_url = "https://www.gravatar.com/avatar/" + hashlib.md5(self.user.username.encode('utf-8') + '@unglue.it').hexdigest() + "?" gravatar_url += urllib.urlencode({'d':'wavatar', 's':'50'}) return gravatar_url