diff options
author | Devaev Maxim <[email protected]> | 2020-03-04 00:26:45 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-03-04 00:26:45 +0300 |
commit | 52e117df3c1fbfc29524ca9d06e49605b3ec5992 (patch) | |
tree | f024bae0dbb6dc08c4cdaae607faedee0eceb5c2 /kvmd/plugins | |
parent | 552bb93212ef2a890b1493b2d9be022d3ece802b (diff) |
put_nowait
Diffstat (limited to 'kvmd/plugins')
-rw-r--r-- | kvmd/plugins/hid/otg/device.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/plugins/hid/otg/device.py b/kvmd/plugins/hid/otg/device.py index 37cb7b07..2986ce4e 100644 --- a/kvmd/plugins/hid/otg/device.py +++ b/kvmd/plugins/hid/otg/device.py @@ -124,7 +124,7 @@ class BaseDeviceProcess(multiprocessing.Process): # pylint: disable=too-many-in self.join() def _queue_event(self, event: BaseEvent) -> None: - self.__events_queue.put(event) + self.__events_queue.put_nowait(event) def _ensure_write(self, report: bytes, reopen: bool=False, close: bool=False) -> bool: if reopen: |