summaryrefslogtreecommitdiff
path: root/kvmd/validators/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'kvmd/validators/__init__.py')
-rw-r--r--kvmd/validators/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/validators/__init__.py b/kvmd/validators/__init__.py
index c1374930..9a372002 100644
--- a/kvmd/validators/__init__.py
+++ b/kvmd/validators/__init__.py
@@ -63,7 +63,7 @@ def check_in_list(arg: Any, name: str, variants: Union[Sequence, Mapping]) -> An
return arg
-def check_string_in_list(arg: Any, name: str, variants: Union[Sequence[str], Mapping[str, Any]], lower: bool=True) -> Any:
+def check_string_in_list(arg: Any, name: str, variants: Union[Sequence[str], Mapping[str, Any]], lower: bool=True) -> str:
arg = check_not_none_string(arg, name)
if lower:
arg = arg.lower()