diff options
author | Devaev Maxim <[email protected]> | 2020-06-20 11:29:27 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-06-20 11:29:27 +0300 |
commit | ec3890e0e65fa773d9b21ca88e26ebad7d34dc16 (patch) | |
tree | 447fa1f26ac662149be8ff56eef0b2f200c11861 /kvmd/apps | |
parent | cf2f763d1bd23170cb82e0df9eff363931cc66dc (diff) |
fixed keymap validation
Diffstat (limited to 'kvmd/apps')
-rw-r--r-- | kvmd/apps/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kvmd/apps/__init__.py b/kvmd/apps/__init__.py index cd49c9f1..a5ad6f25 100644 --- a/kvmd/apps/__init__.py +++ b/kvmd/apps/__init__.py @@ -229,7 +229,7 @@ def _get_config_scheme() -> Dict: "hid": { "type": Option("", type=valid_stripped_string_not_empty), - "keymap": Option("/usr/share/kvmd/keymaps/en-us", type=valid_abs_path), + "keymap": Option("/usr/share/kvmd/keymaps/en-us", type=valid_abs_file), # Dynamic content }, @@ -340,7 +340,7 @@ def _get_config_scheme() -> Dict: "vnc": { "desired_fps": Option(30, type=valid_stream_fps), - "keymap": Option("/usr/share/kvmd/keymaps/en-us", type=valid_abs_path), + "keymap": Option("/usr/share/kvmd/keymaps/en-us", type=valid_abs_file), "server": { "host": Option("::", type=valid_ip_or_host), |