From 93d384ff98c8b2a458b2647b7c7db5cffad3d4d5 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Tue, 12 Jul 2022 13:28:36 +0200 Subject: [PATCH] Fixing module pp_admintools.ldap_config --- lib/pp_admintools/ldap_config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/pp_admintools/ldap_config.py b/lib/pp_admintools/ldap_config.py index 810fb08..583be29 100644 --- a/lib/pp_admintools/ldap_config.py +++ b/lib/pp_admintools/ldap_config.py @@ -30,7 +30,7 @@ from . import MAX_PORT_NUMBER, DEFAULT_CONFIG_DIR from .xlate import XLATOR -__version__ = '0.2.3' +__version__ = '0.2.4' LOG = logging.getLogger(__name__) _ = XLATOR.gettext @@ -347,7 +347,7 @@ class LdapConfiguration(BaseMultiConfig): if sn == 'ldap': for key in section.keys(): sub = section[key] - if key.lower.strip() == 'timeout': + if key.lower().strip() == 'timeout': self._eval_ldap_timeout(sub) continue self._eval_ldap_connection(key, sub) -- 2.39.5