summaryrefslogtreecommitdiff
path: root/scilab_kernel.py
diff options
context:
space:
mode:
Diffstat (limited to 'scilab_kernel.py')
-rw-r--r--scilab_kernel.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/scilab_kernel.py b/scilab_kernel.py
index 2131064..79776bc 100644
--- a/scilab_kernel.py
+++ b/scilab_kernel.py
@@ -54,6 +54,7 @@ class ScilabKernel(Kernel):
self.scilab_wrapper = scilab
scilab.restart()
# this forces scilab to start up prior to the kernel
+ # we need this var because `_` is a function in Scilab
self.scilab_wrapper.put('last_kernel_value', '')
finally:
signal.signal(signal.SIGINT, sig)