Missed condition to save display_data

Some additional conditional code to save images embedded in notebooks
using nbformat v4.
This commit is contained in:
John Miller 2014-11-14 14:49:37 -06:00
parent 228d97f397
commit f3ce2fc66b

View file

@ -995,7 +995,8 @@ prettified text thus be used instead of HTML type."
((equal prop :stream) (progn (push value new-output)
(push :name new-output)))
((ein:output-property-p prop)
((and (equal otype "display_data")
(ein:output-property-p prop))
(let ((new-prop (cdr (ein:output-property-p prop))))
(push (list new-prop (list value)) new-output)
(push :data new-output)))