From d64f667156c18b818512c79c1f9b867264916412 Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Sat, 3 Oct 2020 08:35:47 +0300 Subject: assert --- kvmd/plugins/hid/otg/device.py | 1 + 1 file changed, 1 insertion(+) (limited to 'kvmd/plugins/hid') 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) # ===== -- cgit v1.2.3