From 73b2eff312f4ae3ef6c6b3816d7e1e1ce8f11a28 Mon Sep 17 00:00:00 2001 From: Blake Harnden <32446120+bharnden@users.noreply.github.com> Date: Fri, 18 Oct 2019 16:25:38 -0700 Subject: [PATCH] fix for corehandlers.py session_clients access --- daemon/core/api/tlv/corehandlers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/core/api/tlv/corehandlers.py b/daemon/core/api/tlv/corehandlers.py index 85b7b831..c7827e1f 100644 --- a/daemon/core/api/tlv/corehandlers.py +++ b/daemon/core/api/tlv/corehandlers.py @@ -1016,7 +1016,7 @@ class CoreHandler(socketserver.BaseRequestHandler): # find the session containing this client and set the session to master for _id in self.coreemu.sessions: - clients = self.session_clients[_id] + clients = self.session_clients.get(_id, []) if self in clients: session = self.coreemu.sessions[_id] logging.debug("setting session to master: %s", session.id)