##// END OF EJS Templates
handle missing stream name in nbformat conversion...
Min RK -
Show More
@@ -186,7 +186,7 b' def upgrade_output(output):'
186 elif output['output_type'] == 'pyerr':
186 elif output['output_type'] == 'pyerr':
187 output['output_type'] = 'error'
187 output['output_type'] = 'error'
188 elif output['output_type'] == 'stream':
188 elif output['output_type'] == 'stream':
189 output['name'] = output.pop('stream')
189 output['name'] = output.pop('stream', 'stdout')
190 return output
190 return output
191
191
192 def downgrade_output(output):
192 def downgrade_output(output):
General Comments 0
You need to be logged in to leave comments. Login now