Changeset 15102


Ignore:
Timestamp:
10 Aug 2018, 08:40:41 (6 years ago)
Author:
Henrik Bettermann
Message:

Minor modifications.

Location:
main/waeup.kofa/trunk/src/waeup/kofa/students
Files:
2 edited

Legend:

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

    r14684 r15102  
    126126                credits_weighted += ticket.credits * ticket.weight
    127127        if credits_counted:
    128             level_gpa = credits_weighted/credits_counted
     128            level_gpa = credits_weighted / credits_counted
    129129        # Override level_gpa if value has been imported
    130130        # (not implemented in base package)
  • main/waeup.kofa/trunk/src/waeup/kofa/students/utils.py

    r15051 r15102  
    842842        if gpa <= self.GPABoundaries()[5][0]:
    843843            return 5, self.GPABoundaries()[5][1]
    844         return 'N/A'
     844        return
    845845
    846846    def getDegreeClassNumber(self, level_obj):
Note: See TracChangeset for help on using the changeset viewer.