From e1a4bb89e512f176199db9713cca23c842b61890 2015-04-07 16:49:38 From: Min RK Date: 2015-04-07 16:49:38 Subject: [PATCH] Merge pull request #8268 from jhamrick/execute-comm 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)