fix for corehandlers.py session_clients access

This commit is contained in:
Blake Harnden 2019-10-18 16:25:38 -07:00
parent 83c408359a
commit 73b2eff312

View file

@ -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)