From edbea40353106c2d7af992971090c262e76f74fb 2015-04-07 16:39:33 From: Jessica B. Hamrick Date: 2015-04-07 16:39:33 Subject: [PATCH] Handle comm messages in execute preprocessor --- diff --git a/jupyter_nbconvert/preprocessors/execute.py b/jupyter_nbconvert/preprocessors/execute.py index b8c3dce..46da10c 100644 --- a/jupyter_nbconvert/preprocessors/execute.py +++ b/jupyter_nbconvert/preprocessors/execute.py @@ -130,6 +130,8 @@ class ExecutePreprocessor(Preprocessor): elif msg_type == 'clear_output': outs = [] continue + elif msg_type.startswith('comm'): + continue try: out = output_from_msg(msg)