def _process(self): if not config.LATEX_ENABLED: raise NotFound contribs = self.list_generator.get_list_kwargs()['contribs'] pdf = ContribsToPDF(self.event, contribs) return send_file('contributions.pdf', pdf.generate(), 'application/pdf')
def _process(self): if not config.LATEX_ENABLED: raise NotFound pdf = ContribsToPDF(self.event, self.contribs) return send_file('contributions.pdf', pdf.generate(), 'application/pdf')
def _process(self): pdf = ContribsToPDF(self.event, self.contribs) return send_file('contributions.pdf', pdf.generate(), 'application/pdf')
def _process(self): contribs = self.list_generator.get_list_kwargs()['contribs'] pdf = ContribsToPDF(self.event, contribs) return send_file('contributions.pdf', pdf.generate(), 'application/pdf')