mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
fixed config loading
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user