diff --git a/frappe/utils/__init__.py b/frappe/utils/__init__.py index c4d79c7ef9..715ede6a5b 100644 --- a/frappe/utils/__init__.py +++ b/frappe/utils/__init__.py @@ -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(): """