Changeset 14476


Ignore:
Timestamp:
30 Jan 2017, 16:42:17 (8 years ago)
Author:
Henrik Bettermann
Message:

Quick fix (tests will follow).

Location:
main/waeup.aaue/trunk/src/waeup/aaue/students
Files:
2 edited

Legend:

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

    r14425 r14476  
    212212        self.creation_dt_string = self.creation_dt.astimezone(
    213213            getUtility(IKofaUtils).tzinfo).strftime("%Y-%m-%d %H:%M:%S %Z")
    214         self.past_levels = range(level, 0, -100)[:4]
     214        self.past_levels = range(level, 0, -100)
    215215        self.course_codes = dict()
    216216        self.data = dict()
  • main/waeup.aaue/trunk/src/waeup/aaue/students/utils.py

    r14464 r14476  
    7777            if level_obj.level > end_level:
    7878                # spill-over level
    79                 if self.gpa_params[1] == 0:
     79                if level_obj.gpa_params[1] == 0:
    8080                    # no credits taken
    8181                    return 0
Note: See TracChangeset for help on using the changeset viewer.