- Timestamp:
- 21 Jun 2013, 08:25:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/applicants/pdf.py
r10330 r10332 177 177 178 178 # append login information 179 if self.note: 180 note = self.note + self._addLoginInformation() 181 else: 182 note = self._addLoginInformation() 179 note = None 180 login_information = self._addLoginInformation() 181 if not None in (self.note, login_information): 182 note = self.note + login_information 183 elif self.note: 184 note = self.note 185 elif login_information: 186 note = login_information 183 187 184 188 return creator.create_pdf(data, None, doc_title, note=note)
Note: See TracChangeset for help on using the changeset viewer.