Ignore:
Timestamp:
21 Jun 2013, 07:34:19 (11 years ago)
Author:
Henrik Bettermann
Message:

self.note can be None.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/pdf.py

    r10329 r10330  
    106106                    'b':self.context.application_number}
    107107                ))
    108         return comment
     108            return comment
     109        return
    109110
    110111    def _getPDFCreator(self):
     
    176177
    177178        # append login information
    178         note = self.note + self._addLoginInformation()
     179        if self.note:
     180            note = self.note + self._addLoginInformation()
     181        else:
     182            note = self._addLoginInformation()
    179183
    180184        return creator.create_pdf(data, None, doc_title, note=note)
Note: See TracChangeset for help on using the changeset viewer.