Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Commit

Permalink
ijsconsole: Fix jupyter command flag
Browse files Browse the repository at this point in the history
* Add flag `--kernel=javascript` when `jupyter console` is invoked.

Fixes n-riesco#111
  • Loading branch information
n-riesco committed Sep 11, 2017
1 parent 7984ca7 commit 2053814
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/rc.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,8 @@ function setProtocol(context) {
"--KernelManager.kernel_cmd=['%s']",
context.args.kernel.join("', '")
));
} else if (context.args.frontend[1] === "console") {
context.args.frontend.push("--kernel=javascript");
}

if (context.frontend.majorVersion < 3 &&
Expand Down

0 comments on commit 2053814

Please sign in to comment.