##// END OF EJS Templates
Updating iopubwatcher.py to query for 'text' instead 'data' in the message dict.
Nathan Goldbaum -
Show More
@@ -59,7 +59,7 b' def main(connection_file):'
59 # stdout/stderr
59 # stdout/stderr
60 # stream names are in msg['content']['name'], if you want to handle
60 # stream names are in msg['content']['name'], if you want to handle
61 # them differently
61 # them differently
62 print("%s: %s" % (topic, msg['content']['data']))
62 print("%s: %s" % (topic, msg['content']['text']))
63 elif msg['msg_type'] == 'pyerr':
63 elif msg['msg_type'] == 'pyerr':
64 # Python traceback
64 # Python traceback
65 c = msg['content']
65 c = msg['content']
General Comments 0
You need to be logged in to leave comments. Login now