Show More
@@ -32,6 +32,10 b' def setup():' | |||||
32 | KC.start_channels() |
|
32 | KC.start_channels() | |
33 |
|
33 | |||
34 | # wait for kernel to be ready |
|
34 | # wait for kernel to be ready | |
|
35 | try: | |||
|
36 | msg = KC.iopub_channel.get_msg(block=True, timeout=10) | |||
|
37 | except Empty: | |||
|
38 | pass | |||
35 | KC.execute("pass") |
|
39 | KC.execute("pass") | |
36 | KC.get_shell_msg(block=True, timeout=5) |
|
40 | KC.get_shell_msg(block=True, timeout=5) | |
37 | flush_channels() |
|
41 | flush_channels() |
General Comments 0
You need to be logged in to leave comments.
Login now