Skip to content

Commit

Permalink
pass same arguments to handle_comm_msg
Browse files Browse the repository at this point in the history
  • Loading branch information
maartenbreddels committed Mar 21, 2019
1 parent d71b95f commit 741332a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nbconvert/preprocessors/execute.py
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ def run_cell(self, cell, cell_index=0):
self.clear_output(outs, msg, cell_index)
continue
elif msg_type.startswith('comm'):
self.handle_comm_msg(msg)
self.handle_comm_msg(outs, msg, cell_index)
continue

display_id = None
Expand Down Expand Up @@ -531,7 +531,7 @@ def clear_display_id_mapping(self, cell_index):
if cell_index in cell_map:
cell_map[cell_index] = []

def handle_comm_msg(self, msg):
def handle_comm_msg(self, outs, msg, cell_index):
pass

def executenb(nb, cwd=None, km=None, **kwargs):
Expand Down

0 comments on commit 741332a

Please sign in to comment.