def _process(self): pdf_file = generate_pdf_from_sessions(self.sessions) return send_file('sessions.pdf', pdf_file, 'application/pdf')
def _process(self): pdf_file = generate_pdf_from_sessions(self.sessions) return send_file('sessions.pdf', pdf_file, 'application/pdf')
def _process(self): pdf_file = generate_pdf_from_sessions(self.event_new, self.sessions) return send_file("sessions.pdf", pdf_file, "application/pdf")