From 40b016cf71544f9edc69c5276cb3386a488f56ac Mon Sep 17 00:00:00 2001 From: Bo Peng Date: Fri, 2 Aug 2019 11:17:22 -0500 Subject: [PATCH] Stop sending duplicated status messages to frontend #234 --- src/sos_notebook/kernel.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sos_notebook/kernel.py b/src/sos_notebook/kernel.py index 7ed0f84..39d4082 100644 --- a/src/sos_notebook/kernel.py +++ b/src/sos_notebook/kernel.py @@ -567,6 +567,7 @@ def handle_msg(self, msg): elif comm_msg_started and sub_msg["content"][ "execution_state"] == 'idle': comm_msg_ended = True + continue self._sos_kernel.session.send(self._sos_kernel.iopub_socket, sub_msg) time.sleep(0.001)