From bae78f52cfb328be9070286db2f18f2ad260ad2c Mon Sep 17 00:00:00 2001 From: Sam Mason Date: Tue, 11 Aug 2015 12:11:55 +0100 Subject: [PATCH] compatibility with IPython 3.2 --- py-src/ltipy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/py-src/ltipy.py b/py-src/ltipy.py index f3229c5..0073964 100644 --- a/py-src/ltipy.py +++ b/py-src/ltipy.py @@ -51,7 +51,7 @@ def km_from_string(s=''): km = KernelManager(connection_file = fullpath) km.load_connection_file() km.start_channels() - send = km.shell_channel.execute + send = km.shell_channel.execute # not sure if this should be changed as well respond(None, "python.client.error.ipython-version", None) return @@ -71,7 +71,7 @@ def km_from_string(s=''): km.load_connection_file() kc = km.client() kc.start_channels() - send = kc.shell_channel.execute + send = kc.execute return km def _extract_traceback(traceback):