From e14495ae63f52807e0545281e644337c09f189c3 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 19 Sep 2024 07:45:43 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- ldapauthenticator/ldapauthenticator.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ldapauthenticator/ldapauthenticator.py b/ldapauthenticator/ldapauthenticator.py index dab6725..f40df16 100644 --- a/ldapauthenticator/ldapauthenticator.py +++ b/ldapauthenticator/ldapauthenticator.py @@ -337,7 +337,9 @@ def resolve_username(self, username_supplied_by_user): password=self.lookup_dn_search_password, ) if not conn: - self.log.error(f"Failed to bind lookup_dn_search_user '{self.lookup_dn_search_user}'") + self.log.error( + f"Failed to bind lookup_dn_search_user '{self.lookup_dn_search_user}'" + ) return (None, None) search_filter = self.lookup_dn_search_filter.format(