Show More
@@ -69,9 +69,9 b' def new_output(output_type=None, output_text=None, output_png=None,' | |||||
69 | if output_text is not None: |
|
69 | if output_text is not None: | |
70 | output.text = unicode(output_text) |
|
70 | output.text = unicode(output_text) | |
71 | if output_png is not None: |
|
71 | if output_png is not None: | |
72 |
output.png = |
|
72 | output.png = unicode(output_png) | |
73 | if output_jpeg is not None: |
|
73 | if output_jpeg is not None: | |
74 |
output.jpeg = |
|
74 | output.jpeg = unicode(output_jpeg) | |
75 | if output_html is not None: |
|
75 | if output_html is not None: | |
76 | output.html = unicode(output_html) |
|
76 | output.html = unicode(output_html) | |
77 | if output_svg is not None: |
|
77 | if output_svg is not None: |
@@ -46,7 +46,7 b' class JSONReader(NotebookReader):' | |||||
46 | return nb |
|
46 | return nb | |
47 |
|
47 | |||
48 | def to_notebook(self, d, **kwargs): |
|
48 | def to_notebook(self, d, **kwargs): | |
49 |
return |
|
49 | return rejoin_lines(from_dict(d)) | |
50 |
|
50 | |||
51 |
|
51 | |||
52 | class JSONWriter(NotebookWriter): |
|
52 | class JSONWriter(NotebookWriter): |
General Comments 0
You need to be logged in to leave comments.
Login now