##// END OF EJS Templates
Don't build message twice.
Jonathan Frederic -
Show More
@@ -63,8 +63,7 b' class Output(DOMWidget):'
63 if stream is kernel.iopub_socket and msg_type in ['clear_output', 'stream', 'display_data']:
63 if stream is kernel.iopub_socket and msg_type in ['clear_output', 'stream', 'display_data']:
64 self.send(msg)
64 self.send(msg)
65 else:
65 else:
66 send(stream, msg_or_type, content=content, parent=parent, ident=ident,
66 send(stream, msg, ident=ident, buffers=buffers, track=track)
67 buffers=buffers, track=track, header=header, metadata=metadata)
68
67
69 session.send = send_hook
68 session.send = send_hook
70
69
General Comments 0
You need to be logged in to leave comments. Login now