summaryrefslogtreecommitdiff
path: root/kvmd/validators
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2021-07-24 02:09:18 +0300
committerMaxim Devaev <[email protected]>2021-07-24 02:09:18 +0300
commita33efcaef3e69fb097a71198d6b8cecb02491800 (patch)
treed7cd7b79d2848133d2e988515e7e7343b63120ac /kvmd/validators
parent96481aa745026b614f442e92f421fe32f83c1d90 (diff)
disabled instead of empty string
Diffstat (limited to 'kvmd/validators')
-rw-r--r--kvmd/validators/hid.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/kvmd/validators/hid.py b/kvmd/validators/hid.py
index f47a516c..7d942969 100644
--- a/kvmd/validators/hid.py
+++ b/kvmd/validators/hid.py
@@ -33,11 +33,11 @@ from .basic import valid_number
# =====
def valid_hid_keyboard_output(arg: Any) -> str:
- return check_string_in_list(arg, "Keyboard output", ["usb", "ps2", ""])
+ return check_string_in_list(arg, "Keyboard output", ["usb", "ps2", "disabled"])
def valid_hid_mouse_output(arg: Any) -> str:
- return check_string_in_list(arg, "Mouse output", ["usb", "usb_rel", "ps2", ""])
+ return check_string_in_list(arg, "Mouse output", ["usb", "usb_rel", "ps2", "disabled"])
def valid_hid_key(arg: Any) -> str: