mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-31 10:01:53 +08:00
refactoring
This commit is contained in:
@@ -26,7 +26,7 @@ from typing import Optional
|
||||
from ...clients.kvmd import KvmdClient
|
||||
from ...clients.streamer import StreamerClient
|
||||
|
||||
from ... import make_user_agent
|
||||
from ... import htclient
|
||||
|
||||
from .. import init
|
||||
|
||||
@@ -42,7 +42,7 @@ def main(argv: Optional[List[str]]=None) -> None:
|
||||
argv=argv,
|
||||
)[2].vnc
|
||||
|
||||
user_agent = make_user_agent("KVMD-VNC")
|
||||
user_agent = htclient.make_user_agent("KVMD-VNC")
|
||||
|
||||
# pylint: disable=protected-access
|
||||
VncServer(
|
||||
|
||||
Reference in New Issue
Block a user