##// END OF EJS Templates
fix exception raising in svg2pdf
MinRK -
Show More
@@ -91,4 +91,4 b' class SVG2PDFTransformer(ConvertFiguresTransformer):'
91 # PDF is a nb supported binary, data type, so base64 encode.
91 # PDF is a nb supported binary, data type, so base64 encode.
92 return base64.encodestring(f.read())
92 return base64.encodestring(f.read())
93 else:
93 else:
94 return TypeError("Inkscape svg to png conversion failed")
94 raise TypeError("Inkscape svg to png conversion failed")
General Comments 0
You need to be logged in to leave comments. Login now