Ignore:
Timestamp:
16 Jan 2017, 12:48:10 (8 years ago)
Author:
Henrik Bettermann
Message:

Fix methods.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.coewarri/trunk/src/kofacustom/coewarri/students/studylevel.py

    r14407 r14409  
    8383        """Returns the grade calculated from total score.
    8484        """
    85         return getGradeWeightFromScore(self.total_score, self.student)[0]
     85        return getGradeWeightFromScore(self.total_score)[0]
    8686
    8787    @property
     
    8989        """Returns the weight calculated from total score.
    9090        """
    91         return getGradeWeightFromScore(self.total_score, self.student)[1]
     91        return getGradeWeightFromScore(self.total_score)[1]
    9292
    9393CustomCourseTicket = attrs_to_fields(CustomCourseTicket)
Note: See TracChangeset for help on using the changeset viewer.