summaryrefslogtreecommitdiff
path: root/kvmd/apps/vnc
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-07-19 16:25:31 +0300
committerMaxim Devaev <[email protected]>2022-07-19 16:25:31 +0300
commitb16359c53e5dd62839a9af0fa14bdb9c5f350c75 (patch)
tree198d7e7d517ee2c8fbd6f5cca7b83ffda629ab5b /kvmd/apps/vnc
parent54cb5e1fed2ad2e0f291adcc6738659fd15dc452 (diff)
handle closing ws event
Diffstat (limited to 'kvmd/apps/vnc')
-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 05e4ae66..49d0c81f 100644
--- a/kvmd/apps/vnc/server.py
+++ b/kvmd/apps/vnc/server.py
@@ -166,7 +166,7 @@ class _Client(RfbClient): # pylint: disable=too-many-instance-attributes
self.__stage3_ws_connected.set_passed()
async for event in self.__kvmd_ws.communicate():
await self.__process_ws_event(event)
- raise RfbError("KVMD closes the websocket (the server may have been stopped)")
+ raise RfbError("KVMD closed the websocket (the server may have been stopped)")
finally:
self.__kvmd_ws = None