Changeset 16666 for main/waeup.kofa/trunk
- Timestamp:
- 6 Oct 2021, 13:04:07 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/export.py
r16662 r16666 154 154 # collect failed, not taken and all courses 155 155 for level in student['studycourse'].values(): 156 # check if already failed or not taken courses have been passed later 157 for code in failedticketcodes: 158 if code in level.passed_params[6]: 159 failedticketcodes.remove(code) 160 for code in nottakenticketcodes: 161 if code in level.passed_params[6]: 162 nottakenticketcodes.remove(code) 156 163 failedticketcodes += level.passed_params[4].split() 157 164 nottakenticketcodes += level.passed_params[5].split() 158 165 for ticket in level.values(): 159 166 allticketcodes.append(ticket.code) 160 # check if failed or not taken courses have been passed later161 for code in failedticketcodes:162 if code in level.passed_params[6]:163 failedticketcodes.remove(code)164 for code in nottakenticketcodes:165 if code in level.passed_params[6]:166 nottakenticketcodes.remove(code)167 167 # collect missed tickets 168 168 for certcourse in certificate.values():
Note: See TracChangeset for help on using the changeset viewer.