~schooltool-owners/schooltool.quiz/packaging

« back to all changes in this revision

Viewing changes to src/schooltool/quiz/browser/cando.py

  • Committer: Douglas Cerna
  • Date: 2014-02-24 13:13:58 UTC
  • Revision ID: douglascerna@yahoo.com-20140224131358-5zfkk8koejgdpn27
Fixed bug with update skills calculation

Show diffs side-by-side

added added

removed removed

Lines of Context:
716
716
                    scoresystem = proxy.removeSecurityProxy(skill.scoresystem)
717
717
                    current_score = gradebook.getScore(student, skill)
718
718
                    if (current_score and current_score.value == maxlevel and \
719
 
                        worksheetskills[skill] == (maxlevel-1)) or (current_score and \
 
719
                        worksheetskills[skill] == (int(maxlevel)-1)) or (current_score and \
720
720
                        current_score.evaluator is not None):
721
721
                        pass
722
722
                    elif worksheetskills[skill] == UNSCORED: