summaryrefslogtreecommitdiff
path: root/kvmd/apps/htpasswd/__init__.py
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2019-09-19 06:47:54 +0300
committerDevaev Maxim <[email protected]>2019-09-19 06:47:54 +0300
commit300d4603ca725dfb8749e466eabe0561ad54cb6b (patch)
tree2f53653dba9c95a233f404dafe1da6aff71011bf /kvmd/apps/htpasswd/__init__.py
parent313e2c77fd94b1384ebb9057b43115ef14a642ba (diff)
fixed config loading
Diffstat (limited to 'kvmd/apps/htpasswd/__init__.py')
-rw-r--r--kvmd/apps/htpasswd/__init__.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/kvmd/apps/htpasswd/__init__.py b/kvmd/apps/htpasswd/__init__.py
index aa42b429..b4d1cc2c 100644
--- a/kvmd/apps/htpasswd/__init__.py
+++ b/kvmd/apps/htpasswd/__init__.py
@@ -102,8 +102,7 @@ def main(argv: Optional[List[str]]=None) -> None:
(parent_parser, argv, config) = init(
add_help=False,
argv=argv,
- sections=["logging", "kvmd"],
- with_auth=True,
+ load_auth=True,
)
parser = argparse.ArgumentParser(
prog="kvmd-htpasswd",