Changeset 2781


Ignore:
Timestamp:
27 Nov 2007, 00:12:57 (17 years ago)
Author:
Henrik Bettermann
Message:

fixed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/WAeUPTables.py

    r2780 r2781  
    13241324        for brain in course_results:
    13251325            d = {}
    1326            
     1326
    13271327            for field in self.schema():
    13281328                d[field] = getattr(brain,field,'')
     
    13391339                    score = int(score)
    13401340                    grade,weight = self.getGradesFromScore(score)
    1341                     if weight:
    1342                         gpa += weight * credits
    1343                         d['weight'] = weight
    1344                         d['grade'] = grade
    1345                         d['score'] = score
     1341                    gpa += weight * credits
     1342                    d['weight'] = weight
     1343                    d['grade'] = grade
     1344                    d['score'] = score
    13461345            d['coe'] = ''
    13471346            if brain.core_or_elective:
Note: See TracChangeset for help on using the changeset viewer.