From 12ecaac182370a0c273d77448cec595d2e5f3a3e Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Fri, 30 May 2014 13:01:12 +0530 Subject: [PATCH] default=retro in gravatar --- frappe/utils/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(): """