diff --git a/examples/Parallel Computing/iopubwatcher.py b/examples/Parallel Computing/iopubwatcher.py index db3679e..26842d0 100644 --- a/examples/Parallel Computing/iopubwatcher.py +++ b/examples/Parallel Computing/iopubwatcher.py @@ -59,7 +59,7 @@ def main(connection_file): # stdout/stderr # stream names are in msg['content']['name'], if you want to handle # them differently - print("%s: %s" % (topic, msg['content']['data'])) + print("%s: %s" % (topic, msg['content']['text'])) elif msg['msg_type'] == 'pyerr': # Python traceback c = msg['content']