Skip to content

Commit

Permalink
Fix starting a kernel when modifying a session
Browse files Browse the repository at this point in the history
  • Loading branch information
takluyver committed Nov 4, 2018
1 parent 237a212 commit 80c278a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion notebook/services/sessions/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def patch(self, session_id):
changes['kernel_id'] = kernel_id
elif model['kernel'].get('name') is not None:
kernel_name = model['kernel']['name']
kernel_id = yield sm.start_kernel_for_session(
kernel_id = sm.start_kernel_for_session(
session_id, kernel_name=kernel_name, name=before['name'],
path=before['path'], type=before['type'])
changes['kernel_id'] = kernel_id
Expand Down

0 comments on commit 80c278a

Please sign in to comment.