From c12c58e4dcc1b3960140b8378e311a338be3c229 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Thu, 23 Dec 2021 16:28:10 +0100 Subject: [PATCH] fix KeyError in group_edit --- ldap_frontend/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ldap_frontend/__init__.py b/ldap_frontend/__init__.py index 8bfffeb..d5d8fa7 100644 --- a/ldap_frontend/__init__.py +++ b/ldap_frontend/__init__.py @@ -217,7 +217,7 @@ def group_edit(ldap, ou): ) flash( gettext( - "%(user)s was added to %(ou)s", user=request.form["remove"], ou=ou + "%(user)s was added to %(ou)s", user=request.form["add"], ou=ou ) )