From 8de78fcfbd8c777593da7b304f337543a77d0033 Mon Sep 17 00:00:00 2001 From: lleung030 Date: Wed, 6 Dec 2023 10:00:42 -0800 Subject: [PATCH] Changed default value to passed in value --- lib/gravatar/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/gravatar/utils.py b/lib/gravatar/utils.py index 354f9713..8a6d8584 100644 --- a/lib/gravatar/utils.py +++ b/lib/gravatar/utils.py @@ -44,7 +44,7 @@ def build_gravatar_url_for_email(email, size=GRAVATAR_DEFAULT_SIZE, default=GRAV url += urllib.parse.urlencode( { 's': str(size), - 'default': GRAVATAR_DEFAULT_IMAGE, + 'default': default, } ) return url