diff options
author | Maxim Devaev <[email protected]> | 2022-09-04 18:08:40 +0300 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2022-09-04 18:08:40 +0300 |
commit | ee3e224e396494cd0d69bb6167087a071a20349c (patch) | |
tree | 5becd28570e58a03c6e1e231d0db24c264a73f88 /kvmd/plugins/auth/htpasswd.py | |
parent | 4b75221e9470b4a009955d7677f16adf8e23e302 (diff) |
new typing style
Diffstat (limited to 'kvmd/plugins/auth/htpasswd.py')
-rw-r--r-- | kvmd/plugins/auth/htpasswd.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/kvmd/plugins/auth/htpasswd.py b/kvmd/plugins/auth/htpasswd.py index 51364a18..1e3b1010 100644 --- a/kvmd/plugins/auth/htpasswd.py +++ b/kvmd/plugins/auth/htpasswd.py @@ -20,8 +20,6 @@ # ========================================================================== # -from typing import Dict - import passlib.apache from ...yamlconf import Option @@ -37,7 +35,7 @@ class Plugin(BaseAuthService): self.__path = path @classmethod - def get_plugin_options(cls) -> Dict: + def get_plugin_options(cls) -> dict: return { "file": Option("/etc/kvmd/htpasswd", type=valid_abs_file, unpack_as="path"), } |