Skip to content
Snippets Groups Projects
Commit 68e3bf66 authored by Martin Bergemann's avatar Martin Bergemann :speech_balloon:
Browse files

Fix mypy issues

parent d2266573
No related branches found
No related tags found
1 merge request!30Fix ldap key issues
Pipeline #19981 passed
......@@ -479,7 +479,8 @@ class WebScreen(BaseForm):
npyscreen.TitleCombo,
name=(f"{self.num}Ldap group type"),
value=self.get_index(
["posix", "nested"], cfg.get("ldap_group_type", "nested")
["posix", "nested"],
cast(str, cfg.get("ldap_group_type", "nested")),
),
values=["posix", "nested"],
),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment