Example #1
0
 def do_single_export (self, args)    :
     he = html_exporter.html_exporter(
         args['rd'],
         args['rec'],
         args['out'],
         change_units=args['change_units'],
         mult=args['mult'],
         #conv=args['conv']
         )
     he.run()
 def do_single_export (self, args)    :
     he = html_exporter.html_exporter(
         args['rd'],
         args['rec'],
         args['out'],
         change_units=args['change_units'],
         mult=args['mult'],
         #conv=args['conv']
         )
     he.run()
Example #3
0
 def write_email_html(self):
     for r in self.recipes:
         fi = os.path.join(gglobals.tmpdir, "%s.htm" % r.title)
         ofi = open(fi, 'w')
         e = html_exporter.html_exporter(self.rd,
                                         r,
                                         ofi,
                                         conv=self.conv,
                                         embed_css=True,
                                         imagedir="")
         ofi.close()
         self.attachments.append(fi)
         for i in e.images:
             self.attachments.append(i)
 def write_email_html (self):
     for r in self.recipes:
         fi = os.path.join(gglobals.tmpdir,"%s.htm"%r.title)
         ofi = open(fi,'w')
         e=html_exporter.html_exporter(self.rd,
                                       r,
                                       ofi,
                                       conv=self.conv,
                                       embed_css=True,
                                       imagedir="")
         ofi.close()
         self.attachments.append(fi)
         for i in e.images:
             self.attachments.append(i)