Index: /main/waeup.kofa/trunk/src/waeup/kofa/students/studylevel.py
===================================================================
--- /main/waeup.kofa/trunk/src/waeup/kofa/students/studylevel.py	(revision 14476)
+++ /main/waeup.kofa/trunk/src/waeup/kofa/students/studylevel.py	(revision 14477)
@@ -47,5 +47,5 @@
     return co_ticket
 
-def getGradeWeightFromScore(score, student):
+def getGradeWeightFromScore(score, ticket):
     """Nigerian Course Grading System
     """
@@ -60,5 +60,5 @@
     if score >= 45:
         return ('D',2)
-    if score >= 40 and student.entry_session < 2013:
+    if score >= ticket.passmark: # passmark changed in 2013 from 40 to 45
         return ('E',1)
     return ('F',0)
@@ -385,5 +385,5 @@
         """Returns the grade calculated from total score.
         """
-        return getGradeWeightFromScore(self.total_score, self.student)[0]
+        return getGradeWeightFromScore(self.total_score, self)[0]
 
     @property
@@ -391,5 +391,5 @@
         """Returns the weight calculated from total score.
         """
-        return getGradeWeightFromScore(self.total_score, self.student)[1]
+        return getGradeWeightFromScore(self.total_score, self)[1]
 
 CourseTicket = attrs_to_fields(CourseTicket)
