def _process(self): if request.args.get('latex') == '1' and config.LATEX_ENABLED and self.event.can_manage(session.user): return send_file('book-of-abstracts.pdf', create_boa(self.event), 'application/pdf') if self.event.has_custom_boa: return self.event.custom_boa.send() elif config.LATEX_ENABLED: return send_file('book-of-abstracts.pdf', create_boa(self.event), 'application/pdf') raise NotFound
def _process(self): return send_file('book-of-abstracts.pdf', create_boa(self.event), 'application/pdf')
def _process(self): return send_file('book-of-abstracts.pdf', create_boa(self.event), 'application/pdf')
def _process(self): if not config.LATEX_ENABLED: raise NotFound return send_file('book-of-abstracts.pdf', create_boa(self.event), 'application/pdf')