Ignore:
Timestamp:
4 Dec 2020, 22:12:06 (4 years ago)
Author:
Henrik Bettermann
Message:

Do not print 'None'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.uniben/trunk/src/waeup/uniben/applicants/browser.py

    r16332 r16345  
    735735    @property
    736736    def note(self):
    737         notice = getattr(self.context.__parent__, 'application_slip_notice', None)
     737        notice = getattr(self.context.__parent__, 'application_slip_notice')
     738        if not notice:
     739            notice == ''
    738740        if self.context.screening_date:
    739741            return """
Note: See TracChangeset for help on using the changeset viewer.