Changeset 15167


Ignore:
Timestamp:
23 Sep 2018, 06:51:00 (6 years ago)
Author:
Henrik Bettermann
Message:

Adjust to new transcript processing workflow.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.edopoly/trunk/src/kofacustom/edopoly/students/browser.py

    r15088 r15167  
    132132                         ]
    133133
    134         return students_utils.renderPDFTranscript(
     134        pdfstream = students_utils.renderPDFTranscript(
    135135            self, 'transcript.pdf',
    136136            self.context.student, studentview,
     
    139139            signatures=self._signatures(),
    140140            sigs_in_footer=self._sigsInFooter(),
     141            digital_sigs=self._digital_sigs(),
     142            save_file=self._save_file(),
    141143            )
     144        if not pdfstream:
     145            self.redirect(self.url(self.context.student))
     146            return
     147        return
Note: See TracChangeset for help on using the changeset viewer.