From ec257a238e70e0ba29578a99330b880834f82af3 Mon Sep 17 00:00:00 2001 From: Oliver Falk Date: Mon, 15 Oct 2018 13:09:07 +0200 Subject: [PATCH] Add mp as synonym for mm (for default) --- ivatar/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ivatar/views.py b/ivatar/views.py index ddb7ad3..96d03fb 100644 --- a/ivatar/views.py +++ b/ivatar/views.py @@ -116,7 +116,7 @@ class AvatarImageView(TemplateView): data, content_type='image/png') - if str(default) == 'mm': + if str(default) == 'mm' or str(default) == 'mp': # If mm is explicitly given, we need to catch that pass else: