Skip to content

Commit

Permalink
socket must be None, not shell_socket for default shell (#1281)
Browse files Browse the repository at this point in the history
  • Loading branch information
minrk authored Oct 22, 2024
1 parent e3ae39c commit 2ca7992
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ipykernel/kernelbase.py
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ async def shell_main(self, subshell_id: str | None):
else:
assert subshell_id is None
assert threading.current_thread() == threading.main_thread()
socket = self.shell_socket
socket = None

async with create_task_group() as tg:
tg.start_soon(self.process_shell, socket)
Expand Down

0 comments on commit 2ca7992

Please sign in to comment.