Changeset 14512 for main


Ignore:
Timestamp:
7 Feb 2017, 17:42:37 (8 years ago)
Author:
Henrik Bettermann
Message:

Catch traceback if student has no certificate.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/reports/student_statistics.py

    r14438 r14512  
    7777    mode_groups = getUtility(IKofaUtils).MODE_GROUPS
    7878    for stud in result:
    79         if mode != 'All' and stud.current_mode not in mode_groups[mode]:
     79        if mode != 'All' and stud.current_mode \
     80            and stud.current_mode not in mode_groups[mode]:
    8081            continue
    8182        if level != 0 and stud.current_level != level:
Note: See TracChangeset for help on using the changeset viewer.