mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-31 01:51:53 +08:00
ignored protected-access for _unpack()
This commit is contained in:
@@ -41,7 +41,6 @@ def main(argv: Optional[List[str]]=None) -> None:
|
||||
argv=argv,
|
||||
)[2].ipmi
|
||||
|
||||
# pylint: disable=protected-access
|
||||
IpmiServer(
|
||||
auth_manager=IpmiAuthManager(**config.auth._unpack()),
|
||||
kvmd=KvmdClient(
|
||||
|
||||
@@ -43,8 +43,6 @@ from .server import KvmdServer
|
||||
|
||||
# =====
|
||||
def main(argv: Optional[List[str]]=None) -> None:
|
||||
# pylint: disable=protected-access
|
||||
|
||||
config = init(
|
||||
prog="kvmd",
|
||||
description="The main Pi-KVM daemon",
|
||||
|
||||
@@ -44,7 +44,6 @@ def main(argv: Optional[List[str]]=None) -> None:
|
||||
|
||||
user_agent = htclient.make_user_agent("KVMD-VNC")
|
||||
|
||||
# pylint: disable=protected-access
|
||||
VncServer(
|
||||
host=config.server.host,
|
||||
port=config.server.port,
|
||||
|
||||
Reference in New Issue
Block a user