From ddae7a6fabbd5739d141ff78f4bb1ce329a13356 Mon Sep 17 00:00:00 2001 From: Oliver Falk Date: Thu, 21 Feb 2019 11:22:27 +0100 Subject: [PATCH] Make wavatar same as identicon/retro for the moment --- ivatar/views.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ivatar/views.py b/ivatar/views.py index f330c34..4b00d6d 100644 --- a/ivatar/views.py +++ b/ivatar/views.py @@ -145,7 +145,9 @@ class AvatarImageView(TemplateView): data, content_type='image/png') - if str(default) == 'identicon' or str(default) == 'retro': + # TODO: Wavatar needs to be different + # TODO: identicon should be different from retro + if str(default) == 'identicon' or str(default) == 'retro' or str(default) == 'wavatar': # Taken from example code foreground = [ 'rgb(45,79,255)',