mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 09:01:54 +08:00
hid: better error handling
This commit is contained in:
@@ -60,7 +60,6 @@ def test_main(tmpdir) -> None: # type: ignore
|
||||
"--set-options",
|
||||
"kvmd/server/port=0",
|
||||
"kvmd/server/unix=" + kvmd_sock_path,
|
||||
"kvmd/hid/device=/dev/null",
|
||||
"kvmd/streamer/port=0",
|
||||
"kvmd/streamer/unix=" + ustreamer_sock_path,
|
||||
"kvmd/streamer/cmd=[\"%s\"]" % (ustreamer_fake_name),
|
||||
|
||||
@@ -60,7 +60,6 @@ def _run_main(htpasswd: passlib.apache.HtpasswdFile, cmd: List[str]) -> None:
|
||||
*cmd,
|
||||
"--set-options",
|
||||
"kvmd/auth/basic/htpasswd=" + htpasswd.path,
|
||||
"kvmd/hid/device=/dev/null",
|
||||
])
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user