Ejemplo n.º 1
0
 def __init__(self, template, **kwargs):
     super(PDFBackend, self).__init__(template, **kwargs)
     self.markdown = MarkdownBackend(
         template,
         html=True,
         file=os.path.join(mkdtemp(prefix="veles-pdf-publish-"),
                           "report.html"),
         image_format="png")
     self.file = kwargs["file"]