fix for corehandlers.py session_clients access
This commit is contained in:
parent
83c408359a
commit
73b2eff312
1 changed files with 1 additions and 1 deletions
|
@ -1016,7 +1016,7 @@ class CoreHandler(socketserver.BaseRequestHandler):
|
||||||
|
|
||||||
# find the session containing this client and set the session to master
|
# find the session containing this client and set the session to master
|
||||||
for _id in self.coreemu.sessions:
|
for _id in self.coreemu.sessions:
|
||||||
clients = self.session_clients[_id]
|
clients = self.session_clients.get(_id, [])
|
||||||
if self in clients:
|
if self in clients:
|
||||||
session = self.coreemu.sessions[_id]
|
session = self.coreemu.sessions[_id]
|
||||||
logging.debug("setting session to master: %s", session.id)
|
logging.debug("setting session to master: %s", session.id)
|
||||||
|
|
Loading…
Add table
Reference in a new issue