diff options
author | jacobbar <[email protected]> | 2023-03-14 21:27:44 +0700 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2023-07-10 03:02:28 +0300 |
commit | 6689008840dca1a0d3587192d1087854b1d64e6e (patch) | |
tree | a1479aa677f3b0de2cd70a01858b0d269454df5e /kvmd/plugins/hid/ch9329/__init__.py | |
parent | 6e24efc81e9a99605e39ae22a775553b9aad0f5c (diff) |
Adds CH9329 Serial to HID Plugin Support (#122)
* Add ch9329 plugin
* refactoring ch9329
* refactor ch9329 and cleanup
* refactoring
* fixing lint errors
* clarifying list type
* fix mouse multiple buttons
* remove unused var
---------
Co-authored-by: Maxim Devaev <[email protected]>
Diffstat (limited to 'kvmd/plugins/hid/ch9329/__init__.py')
-rw-r--r-- | kvmd/plugins/hid/ch9329/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kvmd/plugins/hid/ch9329/__init__.py b/kvmd/plugins/hid/ch9329/__init__.py index 0b4d4a14..d8fea2de 100644 --- a/kvmd/plugins/hid/ch9329/__init__.py +++ b/kvmd/plugins/hid/ch9329/__init__.py @@ -256,11 +256,11 @@ class Plugin(BaseHid, multiprocessing.Process): # pylint: disable=too-many-inst self.__set_state_online(True) return True - except Exception as err: + except _ResError as err: self.__set_state_online(False) get_logger(0).info(err) - time.sleep(2) error_retval = False + time.sleep(2) return error_retval |