diff options
Diffstat (limited to 'kvmd/plugins/hid')
-rw-r--r-- | kvmd/plugins/hid/otg/__init__.py | 2 | ||||
-rw-r--r-- | kvmd/plugins/hid/serial.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/kvmd/plugins/hid/otg/__init__.py b/kvmd/plugins/hid/otg/__init__.py index 566bb0ec..defceba6 100644 --- a/kvmd/plugins/hid/otg/__init__.py +++ b/kvmd/plugins/hid/otg/__init__.py @@ -55,7 +55,7 @@ class Plugin(BaseHid): self.__lock = asyncio.Lock() @classmethod - def get_plugin_options(cls) -> Dict[str, Option]: + def get_plugin_options(cls) -> Dict: return { "keyboard": { "device": Option("", type=valid_abs_path, unpack_as="device_path"), diff --git a/kvmd/plugins/hid/serial.py b/kvmd/plugins/hid/serial.py index 5b78e5a9..5edf50a8 100644 --- a/kvmd/plugins/hid/serial.py +++ b/kvmd/plugins/hid/serial.py @@ -167,7 +167,7 @@ class Plugin(BaseHid, multiprocessing.Process): # pylint: disable=too-many-inst self.__stop_event = multiprocessing.Event() @classmethod - def get_plugin_options(cls) -> Dict[str, Option]: + def get_plugin_options(cls) -> Dict: return { "reset_pin": Option(-1, type=valid_gpio_pin), "reset_delay": Option(0.1, type=valid_float_f01), |