Skip to content

Commit a34700e

Browse files
committed
io_thread
1 parent fa0b443 commit a34700e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ipykernel/inprocess/ipkernel.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,9 @@ def _redirected_io(self):
133133

134134
def _io_dispatch(self, change):
135135
"""Called when a message is sent to the IO socket."""
136-
assert self.iopub_socket.io_thread is not None
136+
assert self.iopub_socket is not None
137137
assert self.session is not None
138-
_ident, msg = self.session.recv(self.iopub_socket.io_thread.socket, copy=False)
138+
_ident, msg = self.session.recv(self.iopub_socket.socket, copy=False)
139139
for frontend in self.frontends:
140140
assert frontend is not None
141141
frontend.iopub_channel.call_handlers(msg)

0 commit comments

Comments
 (0)