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

Adjust to new transcript processing workflow.

File:
1 edited

Legend:

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

    r15089 r15166  
    152152                         ]
    153153
    154         return students_utils.renderPDFTranscript(
     154        pdfstream = students_utils.renderPDFTranscript(
    155155            self, 'transcript.pdf',
    156156            self.context.student, studentview,
     
    159159            signatures=self._signatures(),
    160160            sigs_in_footer=self._sigsInFooter(),
     161            digital_sigs=self._digital_sigs(),
     162            save_file=self._save_file(),
    161163            )
     164        if not pdfstream:
     165            self.redirect(self.url(self.context.student))
     166            return
     167        return pdfstream
Note: See TracChangeset for help on using the changeset viewer.