Ignore:
Timestamp:
23 Aug 2016, 06:59:26 (8 years ago)
Author:
Henrik Bettermann
Message:

Show total score.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.aaue/trunk/src/waeup/aaue/students/reports/raw_score_report.py

    r14076 r14112  
    9393        for ticket in level_obj.values():
    9494            if ticket.code in course_codes:
    95                 if ticket.score:
    96                     scores[ticket.code] = (ticket.score, ticket.grade)
     95                if not None in (ticket.score, ticket.ca):
     96                    scores[ticket.code] = (
     97                        ticket.score + ticket.ca, ticket.grade)
    9798                else:
    9899                    scores[ticket.code] = ('0', '')
Note: See TracChangeset for help on using the changeset viewer.