Changed case discrepency between course.xml and profile page

This commit is contained in:
Bridger Maxwell
2012-02-03 17:34:11 -05:00
parent 2e91a1d7c3
commit 81e1a8dc12

View File

@@ -67,7 +67,7 @@ def profile(request):
correct=response.grade
total=courseware.modules.capa_module.LoncapaModule(etree.tostring(p), "id").max_score() # TODO: Add state. Not useful now, but maybe someday problems will have randomized max scores?
scores.append((int(correct),total, ( True if s.get('graded') == "True" else False ) ))
scores.append((int(correct),total, ( True if s.get('graded') == "true" else False ) ))
section_total = (sum([score[0] for score in scores]),