Skip to content

Commit 865dfa6

Browse files
committed
undo "-1"
1 parent 954619c commit 865dfa6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

matlab_kernel/kernel.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ def _execute_async(self, code):
257257
except (SyntaxError, MatlabExecutionError, KeyboardInterrupt) as exc:
258258
pass
259259
#stdout = exc.args[0]
260-
#return ExceptionWrapper("Error", "-1", stdout)
260+
#return ExceptionWrapper("Error", -1, stdout)
261261

262262
def _execute_sync(self, code):
263263
out = StringIO()
@@ -269,7 +269,7 @@ def _execute_sync(self, code):
269269
except (SyntaxError, MatlabExecutionError) as exc:
270270
stdout = exc.args[0]
271271
self.Error(stdout)
272-
return ExceptionWrapper("Error", "-1", stdout)
272+
return ExceptionWrapper("Error", -1, stdout)
273273
stdout = out.getvalue()
274274
self.Print(stdout)
275275

0 commit comments

Comments
 (0)