Permalink
Browse files

Minor changes to the notebook handlers.

  • Loading branch information...
1 parent 2d0493e commit a0b37c9907a074b30cbb75f0b45b9dbabccb9b5a @ellisonbg ellisonbg committed with Sep 10, 2011
Showing with 3 additions and 1 deletion.
  1. +3 −1 IPython/frontend/html/notebook/handlers.py
@@ -188,11 +188,13 @@ def _on_zmq_reply(self, msg_list):
try:
msg = self._reserialize_reply(msg_list)
except:
- self.application.kernel_manager.log.critical("Malformed message: %r" % msg_list)
+ self.application.log.critical("Malformed message: %r" % msg_list)
else:
self.write_message(msg)
+
class AuthenticatedZMQStreamHandler(ZMQStreamHandler):
+
def open(self, kernel_id):
self.kernel_id = kernel_id.decode('ascii')
try:

0 comments on commit a0b37c9

Please sign in to comment.