Changeset 2780
- Timestamp:
- 27 Nov 2007, 00:06:01 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/WAeUPTables.py
r2766 r2780 1335 1335 credits = int(brain.credits) 1336 1336 total_credits += credits 1337 if str(brain.score).isdigit():1338 score = int(brain.score)1339 1337 score = getattr(brain,'score',0) 1338 if score and str(score).isdigit() and int(score) > 0: 1339 score = int(score) 1340 1340 grade,weight = self.getGradesFromScore(score) 1341 1341 if weight: … … 1344 1344 d['grade'] = grade 1345 1345 d['score'] = score 1346 1347 1346 d['coe'] = '' 1348 1347 if brain.core_or_elective:
Note: See TracChangeset for help on using the changeset viewer.