Ignore:
Timestamp:
9 Nov 2018, 13:35:24 (6 years ago)
Author:
Henrik Bettermann
Message:

Add imported_ts (total score) field and override total_score if imported.

File:
1 edited

Legend:

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

    r15178 r15226  
    408408        """Returns ca + score.
    409409        """
     410        # Override total_score if value has been imported
     411        if getattr(self, 'imported_ts', None):
     412            return self.imported_ts
    410413        if self.score == -1:
    411414            return 0
Note: See TracChangeset for help on using the changeset viewer.