Skip to content

Commit 0dc2aaa

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 0041da1 commit 0dc2aaa

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ipykernel/kernelbase.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,9 @@ async def shell_channel_thread_main(self):
377377
subshell_id = msg3["header"].get("subshell_id")
378378

379379
# Find inproc pair socket to use to send message to correct subshell.
380-
socket = self.shell_channel_thread.manager.get_shell_channel_socket(subshell_id)
380+
socket = self.shell_channel_thread.manager.get_shell_channel_socket(
381+
subshell_id
382+
)
381383
assert socket is not None
382384
socket.send_multipart(msg, copy=False)
383385
except Exception:

0 commit comments

Comments
 (0)