mirror of
https://github.com/jupyter/notebook.git
synced 2025-03-13 13:17:50 +08:00
allow session_id to be undefined when starting kernel channels
This commit is contained in:
parent
1b5874ac65
commit
97f7116624
@ -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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user