From f54bb0981f5bea1e7a1f144615fa3b48467b33cf Mon Sep 17 00:00:00 2001
From: Javi Merino <javi.merino@arm.com>
Date: Thu, 16 Apr 2015 18:37:21 +0100
Subject: [PATCH] Don't use shell_channel in ipynb_exporter result processor

It's not needed for IPython 2 and it breaks in IPython 3
---
 wlauto/utils/ipython.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wlauto/utils/ipython.py b/wlauto/utils/ipython.py
index 01fb9c81..52a34513 100644
--- a/wlauto/utils/ipython.py
+++ b/wlauto/utils/ipython.py
@@ -48,7 +48,7 @@ elif IPython:
 
 def run_cell(kernel_client, cell):
     """Run a cell of a notebook in an ipython kernel and return its output"""
-    kernel_client.shell_channel.execute(cell.input)
+    kernel_client.execute(cell.input)
 
     outs = []
     while True: