summaryrefslogtreecommitdiff
path: root/kvmd/apps/vnc/rfb/__init__.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/rfb/__init__.py
parent08950a5fbda89970af5043effa89886ae41fbb42 (diff)
lint fixes
Diffstat (limited to 'kvmd/apps/vnc/rfb/__init__.py')
-rw-r--r--kvmd/apps/vnc/rfb/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/apps/vnc/rfb/__init__.py b/kvmd/apps/vnc/rfb/__init__.py
index 70ed087d..279c18bf 100644
--- a/kvmd/apps/vnc/rfb/__init__.py
+++ b/kvmd/apps/vnc/rfb/__init__.py
@@ -365,7 +365,7 @@ class RfbClient(RfbClientStream): # pylint: disable=too-many-instance-attribute
}
while True:
msg_type = await self._read_number("B")
- if (handler := handlers.get(msg_type)) is not None: # noqa: E203,E231
+ if (handler := handlers.get(msg_type)) is not None:
await handler() # type: ignore # mypy bug
else:
raise RfbError(f"Unknown message type: {msg_type}")