Changeset 15482 for main/waeup.uniben/trunk
- Timestamp:
- 2 Jul 2019, 13:40:49 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/students/utils.py
r15447 r15482 37 37 prev_level = student['studycourse'].current_level 38 38 cur_verdict = student['studycourse'].current_verdict 39 if cur_verdict in ('A','B','L','M','N','Z',): 39 if cur_verdict == 'N' and prev_level == 100: 40 new_level = prev_level 41 elif cur_verdict in ('A','B','L','M','N','Z',): 40 42 # Successful student 41 43 new_level = divmod(int(prev_level),100)[0]*100 + 100
Note: See TracChangeset for help on using the changeset viewer.