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

Fix methods.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.fceokene/trunk/src/waeup/fceokene/students/studylevel.py

    r14406 r14408  
    8686        """Returns the grade calculated from total score.
    8787        """
    88         return getGradeWeightFromScore(self.total_score, self.student)[0]
     88        return getGradeWeightFromScore(self.total_score)[0]
    8989
    9090    @property
     
    9292        """Returns the weight calculated from total score.
    9393        """
    94         return getGradeWeightFromScore(self.total_score, self.student)[1]
     94        return getGradeWeightFromScore(self.total_score)[1]
    9595
    9696CustomCourseTicket = attrs_to_fields(CustomCourseTicket)
Note: See TracChangeset for help on using the changeset viewer.