Ignore:
Timestamp:
3 Sep 2013, 06:49:54 (11 years ago)
Author:
Henrik Bettermann
Message:

Distinguish between score 0 and score None.

File:
1 edited

Legend:

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

    r10553 r10582  
    125125        level_gpa = 0.0
    126126        for ticket in self.values():
    127             if ticket.score:
     127            if ticket.score is not None:
    128128                credits_counted += ticket.credits
    129129                weighted_credits += ticket.credits * ticket.weight
Note: See TracChangeset for help on using the changeset viewer.