allow session_id to be undefined when starting kernel channels

This commit is contained in:
MinRK 2014-10-12 14:55:01 -07:00
parent 1b5874ac65
commit 97f7116624

View File

@ -159,7 +159,7 @@ class AuthenticatedZMQStreamHandler(ZMQStreamHandler, IPythonHandler):
self.log.warn("Couldn't authenticate WebSocket connection")
raise web.HTTPError(403)
if self.get_argument('session_id'):
if self.get_argument('session_id', False):
self.session.session = cast_unicode(self.get_argument('session_id'))
else:
self.log.warn("No session ID specified")