diff options
author | Maxim Devaev <[email protected]> | 2022-07-29 22:14:02 +0300 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2022-07-29 22:14:02 +0300 |
commit | caf1a89ec64d3441b79b6e0ae8d59fdadfbb68a8 (patch) | |
tree | a9282f47d4c06524d81b2bd963b7cf1ddbf40da6 /kvmd/plugins/hid/otg | |
parent | 02fa3fa65d0a91e72dd172c65d0af6313df4c161 (diff) |
refactoring
Diffstat (limited to 'kvmd/plugins/hid/otg')
-rw-r--r-- | kvmd/plugins/hid/otg/device.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kvmd/plugins/hid/otg/device.py b/kvmd/plugins/hid/otg/device.py index ce51aacd..2dc11d6c 100644 --- a/kvmd/plugins/hid/otg/device.py +++ b/kvmd/plugins/hid/otg/device.py @@ -130,7 +130,8 @@ class BaseDeviceProcess(multiprocessing.Process): # pylint: disable=too-many-in # ===== - def _process_event(self, event: BaseEvent) -> Generator[bytes, None, None]: # pylint: disable=unused-argument + def _process_event(self, event: BaseEvent) -> Generator[bytes, None, None]: + _ = event if self is not None: # XXX: Vulture and pylint hack raise NotImplementedError() yield |