views.py: fix typo
This commit is contained in:
parent
dacdc519de
commit
c80e569033
|
@ -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')
|
||||
|
|
Reference in New Issue