diff options
author | Devaev Maxim <[email protected]> | 2020-10-03 08:35:47 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-10-03 08:35:47 +0300 |
commit | d64f667156c18b818512c79c1f9b867264916412 (patch) | |
tree | 0109ed1c61306154270be8ab8354fbcf6bf23002 /kvmd/plugins/hid/otg | |
parent | 2881795f80540abe5112768c29f674ff0766ddd6 (diff) |
assert
Diffstat (limited to 'kvmd/plugins/hid/otg')
-rw-r--r-- | kvmd/plugins/hid/otg/device.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kvmd/plugins/hid/otg/device.py b/kvmd/plugins/hid/otg/device.py index e8f3abe7..e44efd5e 100644 --- a/kvmd/plugins/hid/otg/device.py +++ b/kvmd/plugins/hid/otg/device.py @@ -110,6 +110,7 @@ class BaseDeviceProcess(multiprocessing.Process): # pylint: disable=too-many-in pass def _update_state(self, **kwargs: bool) -> None: + assert "online" not in kwargs self.__state_flags.update(**kwargs) # ===== |