From c80e569033b485498f3b493fa1963029b53a6574 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Thu, 27 Aug 2015 11:20:35 +0200 Subject: [PATCH] views.py: fix typo --- src/authentic2_formiris/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/authentic2_formiris/views.py b/src/authentic2_formiris/views.py index 662e137..208ff5b 100644 --- a/src/authentic2_formiris/views.py +++ b/src/authentic2_formiris/views.py @@ -22,7 +22,7 @@ def index(request): if restriction.updated is not None and \ (now() - restriction.updated) >= timedelta(days=7): logger.info(u'user blocked because its profile update has not been ' - 'validated in %s days', (now() - restriction.update).days) + 'validated in %s days', (now() - restriction.updated).days) if request.method == 'POST': restriction.send_mail(request) logger.info('profile update validation email resent')