summaryrefslogtreecommitdiff
path: root/kvmd/apps/vnc/server.py
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-05-22 14:36:01 +0300
committerDevaev Maxim <[email protected]>2020-05-22 14:36:01 +0300
commit0fa0680bd7c28e246c70b5a5102e38a592bd0f0d (patch)
treed33b4d5e0bbed8c8e6600402990959900baba26d /kvmd/apps/vnc/server.py
parent08950a5fbda89970af5043effa89886ae41fbb42 (diff)
lint fixes
Diffstat (limited to 'kvmd/apps/vnc/server.py')
-rw-r--r--kvmd/apps/vnc/server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/apps/vnc/server.py b/kvmd/apps/vnc/server.py
index 15eb2402..e2ac697c 100644
--- a/kvmd/apps/vnc/server.py
+++ b/kvmd/apps/vnc/server.py
@@ -249,7 +249,7 @@ class _Client(RfbClient): # pylint: disable=too-many-instance-attributes
# =====
async def _on_key_event(self, code: int, state: bool) -> None:
- if (web_name := self.__symmap.get(code)) is not None: # noqa: E203,E231
+ if (web_name := self.__symmap.get(code)) is not None:
await self.__ws_writer_queue.put({
"event_type": "key",
"event": {"key": web_name, "state": state},