Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Make the notebook ID optional

  • Loading branch information...
commit f3728f98b4bed4bfb7a626f230888d94c80b254b 1 parent 9cfa652
@ihanson ihanson authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  handlers.py
View
2  handlers.py
@@ -91,7 +91,7 @@ class KernelHandler(tornado.web.RequestHandler):
@tornado.web.asynchronous
@gen.engine
def post(self):
- timer = Timer("Kernel handler for %s"%self.get_argument("notebook"))
+ timer = Timer("Kernel handler for %s"%self.get_argument("notebook", uuid.uuid4()))
proto = self.request.protocol.replace("http", "ws", 1)
host = self.request.host
ws_url = "%s://%s/" % (proto, host)
Please sign in to comment.
Something went wrong with that request. Please try again.