##// END OF EJS Templates
don't send empty execute_result messages...
Min RK -
Show More
@@ -68,6 +68,7 b' class ZMQShellDisplayHook(DisplayHook):'
68 """Finish up all displayhook activities."""
68 """Finish up all displayhook activities."""
69 sys.stdout.flush()
69 sys.stdout.flush()
70 sys.stderr.flush()
70 sys.stderr.flush()
71 self.session.send(self.pub_socket, self.msg, ident=self.topic)
71 if self.msg['content']['data']:
72 self.session.send(self.pub_socket, self.msg, ident=self.topic)
72 self.msg = None
73 self.msg = None
73
74
General Comments 0
You need to be logged in to leave comments. Login now