views.py: fix typo

This commit is contained in:
Benjamin Dauvergne 2015-08-27 11:20:35 +02:00
parent dacdc519de
commit c80e569033
1 changed files with 1 additions and 1 deletions

View File

@ -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')