Browse Source

default=retro in gravatar

version-14
Anand Doshi 11 years ago
parent
commit
12ecaac182
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      frappe/utils/__init__.py

+ 1
- 1
frappe/utils/__init__.py View File

@@ -77,7 +77,7 @@ def random_string(length):

def get_gravatar(email):
import md5
return "https://secure.gravatar.com/avatar/" + md5.md5(email).hexdigest()
return "https://secure.gravatar.com/avatar/{hash}?d=retro".format(hash=md5.md5(email).hexdigest())

def get_traceback():
"""


Loading…
Cancel
Save