From 06611a0fbd597ad8f52726732eec2a4cf31203a2 2014-10-12 21:55:01 From: MinRK Date: 2014-10-12 21:55:01 Subject: [PATCH] allow session_id to be undefined when starting kernel channels --- diff --git a/IPython/html/base/zmqhandlers.py b/IPython/html/base/zmqhandlers.py index b0caf56..b3d7810 100644 --- a/IPython/html/base/zmqhandlers.py +++ b/IPython/html/base/zmqhandlers.py @@ -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")