diff options
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 4de4009a..c9aa0977 100644 --- a/src/web/views/admin.py +++ b/src/web/views/admin.py @@ -93,7 +93,7 @@ def delete_user(user_id=None): nick=user.nickname), 'success') except Exception as error: flash( - gettext('An error occured while trying to delete a user: %(error)s', + gettext('An error occurred while trying to delete a user: %(error)s', error=error), 'danger') return redirect(url_for('admin.dashboard')) |