Skip to content

Commit 85a4899

Browse files
authored
use get_shell_msg helper method (#368)
* use get_shell_msg helper method
1 parent 213a817 commit 85a4899

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel_gateway/services/kernels/manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def start_kernel(self, *args, **kwargs):
101101
# executed
102102
if self.parent.personality.should_seed_cell(code):
103103
client.execute(code)
104-
msg = client.shell_channel.get_msg(block=True)
104+
msg = client.get_shell_msg()
105105
if msg['content']['status'] != 'ok':
106106
# Shutdown the channels to remove any lingering ZMQ messages
107107
client.stop_channels()

0 commit comments

Comments
 (0)