Commits

Matthew Turk committed 8fafff7

Coalesce the streams in the converter

  • Participants
  • Parent commits 1b79ec8

Comments (0)

Files changed (1)

File blohg_converter.py

         lines = ['In[%s]:' % cell.prompt_number, '']
         lines.extend(nb.rst_directive('.. sourcecode:: python', cell.input))
 
-        for output in cell.outputs:
+        for output in nb.coalesce_streams(cell.outputs):
             conv_fn = self.dispatch(output.output_type)
             lines.extend(conv_fn(output))