syntax error fix

pull/1/head
Raymond Yee 2016-08-25 17:17:18 -04:00
parent 07025dc6d0
commit c1f553f113
1 changed files with 1 additions and 1 deletions

View File

@ -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