def gen_thermal(self): return generate_thermal(self)
def gen_thermal(self): files = [] for ticket in self.all_tickets(): files.append(generate_thermal(ticket, asbuf=True)) return concat_pdf(files)
def fillfiles(q): for inv in q: files.append(generate_thermal(inv, asbuf=True, inv=True))