Skip to content

Commit

Permalink
fix js code
Browse files Browse the repository at this point in the history
  • Loading branch information
fecet committed Apr 17, 2023
1 parent de63782 commit 29efdd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jupynium/events_control.py
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ def process_request_event(nvim_info: NvimInfo, driver, event):

elif event[1] == "kernel_connect_info":
driver.switch_to.window(nvim_info.window_handles[bufnr])
kernel_id = driver.execute_script("Jupyter.notebook.kernel.id")
kernel_id = driver.execute_script("return Jupyter.notebook.kernel.id")
event[3].send(kernel_id)
return True, None

Expand Down

0 comments on commit 29efdd2

Please sign in to comment.