1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-08-01 18:18:31 +00:00

Fix the problems found by flake8.

This commit is contained in:
Dipl. Ing. Péter Varkoly 2024-09-11 08:12:08 +02:00
parent 5cb16a3a2d
commit d75b071fec
3 changed files with 28 additions and 26 deletions

View file

@ -252,7 +252,7 @@ class Application(ApplicationPartDelete, ApplicationPartHead,
user = self._auth.login(login, password) or "" if login else ""
if self.configuration.get("auth", "type") == "ldap":
try:
logger.debug("Groups %r",",".join(self._auth._ldap_groups))
logger.debug("Groups %r", ",".join(self._auth._ldap_groups))
self._rights._user_groups = self._auth._ldap_groups
except AttributeError:
pass