aboutsummaryrefslogtreecommitdiff
path: root/src/web/views/admin.py
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2016-04-07 11:00:33 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2016-04-07 11:00:33 +0200
commit7a8285fec1a75bed685d785bcf8e0bb463d955f0 (patch)
treef220d55be973638024e1753e5146ca617175dbde /src/web/views/admin.py
parentBug fix. (diff)
downloadnewspipe-7a8285fec1a75bed685d785bcf8e0bb463d955f0.tar.gz
newspipe-7a8285fec1a75bed685d785bcf8e0bb463d955f0.tar.bz2
newspipe-7a8285fec1a75bed685d785bcf8e0bb463d955f0.zip
Bug fix.
Diffstat (limited to 'src/web/views/admin.py')
-rw-r--r--src/web/views/admin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/views/admin.py b/src/web/views/admin.py
index 05159807..d8472d9b 100644
--- a/src/web/views/admin.py
+++ b/src/web/views/admin.py
@@ -134,6 +134,6 @@ def toggle_user(user_id=None):
else:
act_txt = 'activated' if user.is_active else 'desactivated'
message = gettext('User %(nickname)s successfully %(is_active)s',
- login=user.nickname, is_active=act_txt)
+ nickname=user.nickname, is_active=act_txt)
flash(message, 'success')
return redirect(url_for('admin.dashboard'))
bgstack15