Beispiel #1
0
 def get_multiple_exporter(self, args):
     return exporter.ExporterMultirec(
         args['rd'],
         args['rv'],
         args['file'],
         one_file=True,
         ext='txt',
     )
Beispiel #2
0
 def get_multiple_exporter(self, args):
     return exporter.ExporterMultirec(
         args['rd'],
         args['rv'],
         args['file'],
         one_file=True,
         ext='mmf',
         exporter=mealmaster_exporter.mealmaster_exporter)
Beispiel #3
0
 def write_email_text(self):
     s = StringIOfaker()
     first = True
     e = exporter.ExporterMultirec(self.rd,
                                   self.recipes,
                                   s,
                                   padding="\n\n-----\n")
     e.run()
     if not self.body: self.body = ""
     self.body += s.getvalue()
     s.close_really()