Changeset 16318


Ignore:
Timestamp:
15 Nov 2020, 22:05:20 (4 years ago)
Author:
Henrik Bettermann
Message:

Do it right.

File:
1 edited

Legend:

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

    r16317 r16318  
    6161    def is_postgrad(self, applicant):
    6262        course_studied = getattr(applicant, 'course_studied', None)
    63         if course_studied and (course_studied.study_mode.startswith('pg')
     63        if course_studied is not None and (
     64              course_studied.study_mode.startswith('pg')
    6465              or course_studied.study_mode.startswith('special_pg')):
    6566            return True
Note: See TracChangeset for help on using the changeset viewer.