Skip to content

Commit 95267f9

Browse files
committed
fix handle_external_iopub
1 parent d5dde7a commit 95267f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jupyter_console/ptshell.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -839,7 +839,7 @@ def include_output(self, msg):
839839
async def handle_external_iopub(self, loop=None):
840840
while self.keep_running:
841841
# we need to check for keep_running from time to time
842-
poll_result = await self.client.iopub_channel.socket.poll(500)
842+
poll_result = run_sync(self.client.iopub_channel.socket.poll)(500)
843843
if poll_result:
844844
self.handle_iopub()
845845

0 commit comments

Comments
 (0)