Permalink
Browse files

Make the notebook ID optional

  • Loading branch information...
1 parent 9cfa652 commit f3728f98b4bed4bfb7a626f230888d94c80b254b @ihanson ihanson committed Mar 18, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 handlers.py
View
@@ -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)

0 comments on commit f3728f9

Please sign in to comment.