diff options
author | Devaev Maxim <[email protected]> | 2020-05-22 14:36:01 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-05-22 14:36:01 +0300 |
commit | 0fa0680bd7c28e246c70b5a5102e38a592bd0f0d (patch) | |
tree | d33b4d5e0bbed8c8e6600402990959900baba26d /kvmd/apps/vnc/rfb/__init__.py | |
parent | 08950a5fbda89970af5043effa89886ae41fbb42 (diff) |
lint fixes
Diffstat (limited to 'kvmd/apps/vnc/rfb/__init__.py')
-rw-r--r-- | kvmd/apps/vnc/rfb/__init__.py | 2 |
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}") |