syntax error fix
parent
07025dc6d0
commit
c1f553f113
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue