]> Frank Brehm's Git Trees - pixelpark/pp-admin-tools.git/commitdiff
Fixing module pp_admintools.ldap_config
authorFrank Brehm <frank@brehm-online.com>
Tue, 12 Jul 2022 11:28:36 +0000 (13:28 +0200)
committerFrank Brehm <frank@brehm-online.com>
Tue, 12 Jul 2022 11:28:36 +0000 (13:28 +0200)
lib/pp_admintools/ldap_config.py

index 810fb08c8d07bfd2084922692751eecb9e38060a..583be2956759ce89dfd336feec03394e15268b97 100644 (file)
@@ -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)