Changeset 17536 for main/waeup.uniben/trunk/src/waeup/uniben/students
- Timestamp:
- 10 Aug 2023, 13:53:20 (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/students/utils.py
r17498 r17536 90 90 if cur_verdict == 'N' and prev_level in (100, 200): 91 91 new_level = prev_level 92 elif cur_verdict in ('A','B',' L','M','N','Z',):92 elif cur_verdict in ('A','B','M','N','Z',): 93 93 # Successful student 94 94 new_level = divmod(int(prev_level),100)[0]*100 + 100 95 elif cur_verdict == 'C':95 elif cur_verdict in ('C', 'L',): 96 96 # Student on probation 97 97 new_level = int(prev_level) + 10
Note: See TracChangeset for help on using the changeset viewer.