diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-04-07 11:00:33 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-04-07 11:00:33 +0200 |
commit | 7a8285fec1a75bed685d785bcf8e0bb463d955f0 (patch) | |
tree | f220d55be973638024e1753e5146ca617175dbde /src/web/views/admin.py | |
parent | Bug fix. (diff) | |
download | newspipe-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.py | 2 |
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')) |