summaryrefslogtreecommitdiff
path: root/kvmd/apps/vnc/server.py
diff options
context:
space:
mode:
Diffstat (limited to 'kvmd/apps/vnc/server.py')
-rw-r--r--kvmd/apps/vnc/server.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/kvmd/apps/vnc/server.py b/kvmd/apps/vnc/server.py
index 539470a8..73c9c148 100644
--- a/kvmd/apps/vnc/server.py
+++ b/kvmd/apps/vnc/server.py
@@ -149,9 +149,9 @@ class _Client(RfbClient): # pylint: disable=too-many-instance-attributes
self.__kvmd_ws = None
async def __process_ws_event(self, event: Dict) -> None:
- if event["event_type"] == "info_state":
+ if event["event_type"] == "info_meta_state":
try:
- host = event["event"]["meta"]["server"]["host"]
+ host = event["event"]["server"]["host"]
except Exception:
host = None
else: