Ignore:
Timestamp:
1 Feb 2013, 12:38:16 (12 years ago)
Author:
uli
Message:

student faccodes of None should not block report generation.

File:
1 edited

Legend:

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

    r9680 r9927  
    6767    for stud in result:
    6868        if mode != 'All' and stud.current_mode not in mode_groups[mode]:
     69            continue
     70        if stud.faccode not in fac_codes:
     71            # studs can have a faccode ``None``
    6972            continue
    7073        row = fac_codes.index(stud.faccode)
Note: See TracChangeset for help on using the changeset viewer.