Beispiel #1
0
 def _process(self):
     pdf = ContribToPDF(self.contrib)
     return send_file('contribution.pdf', pdf.generate(), 'application/pdf')
Beispiel #2
0
 def _process(self):
     if not config.LATEX_ENABLED:
         raise NotFound
     pdf = ContribToPDF(self.contrib)
     return send_file('contribution.pdf', pdf.generate(), 'application/pdf')
Beispiel #3
0
 def _process(self):
     pdf = ContribToPDF(self.contrib)
     return send_file('contribution.pdf', pdf.generate(), 'application/pdf')