Skip to content

Commit 2ca7992

Browse files
authored
socket must be None, not shell_socket for default shell (#1281)
1 parent e3ae39c commit 2ca7992

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ipykernel/kernelbase.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ async def shell_main(self, subshell_id: str | None):
412412
else:
413413
assert subshell_id is None
414414
assert threading.current_thread() == threading.main_thread()
415-
socket = self.shell_socket
415+
socket = None
416416

417417
async with create_task_group() as tg:
418418
tg.start_soon(self.process_shell, socket)

0 commit comments

Comments
 (0)