Skip to content

Commit

Permalink
fix gravatar
Browse files Browse the repository at this point in the history
  • Loading branch information
twd2 committed Jul 26, 2017
1 parent 6ac2cbb commit 06336eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vj4/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def gravatar_url(gravatar, size=200):
gravatar_hash = hashlib.md5(gravatar.lower().encode()).hexdigest()
else:
gravatar_hash = ''
return ('//gravatar.proxy.ustclug.org/avatar/' + gravatar_hash + "?" +
return ('//cn.gravatar.com/avatar/' + gravatar_hash + "?" +
parse.urlencode({'d': 'mm', 's': str(size)}))


Expand Down

0 comments on commit 06336eb

Please sign in to comment.