diff --git a/ldapcherry/__init__.py b/ldapcherry/__init__.py index 478f1d4..e8cd9c2 100644 --- a/ldapcherry/__init__.py +++ b/ldapcherry/__init__.py @@ -659,7 +659,9 @@ class LdapCherry(object): if params['attrs'][pwd1] != params['attrs'][pwd2]: raise PasswordMissMatch() if params['attrs'][pwd1] != '' and \ - not self._checkppolicy(params['attrs'][pwd1])['match']: + not self._checkppolicy( + params['attrs'][pwd1] + )['match']: raise PPolicyError() params['attrs'][attr] = params['attrs'][pwd1] if attr in params['attrs'] and params['attrs'][attr] != '':