From 6c121bf87f05e5cf0272fb2597323611adb81092 Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Sun, 7 Apr 2019 07:39:05 +0300 Subject: hid: better error handling --- kvmd/apps/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kvmd/apps/__init__.py') diff --git a/kvmd/apps/__init__.py b/kvmd/apps/__init__.py index 062e9bfe..d92d29ed 100644 --- a/kvmd/apps/__init__.py +++ b/kvmd/apps/__init__.py @@ -153,7 +153,7 @@ def _get_config_scheme() -> Dict: "reset_pin": Option(-1, type=valid_gpio_pin), "reset_delay": Option(0.1, type=valid_float_f01), - "device": Option("", type=valid_abs_path_exists, unpack_as="device_path"), + "device": Option("", type=valid_abs_path, unpack_as="device_path"), "speed": Option(115200, type=valid_tty_speed), "read_timeout": Option(2.0, type=valid_float_f01), "read_retries": Option(10, type=valid_int_f1), -- cgit v1.2.3