Commit 81e1a8dc by Bridger Maxwell

Changed case discrepency between course.xml and profile page

parent 2e91a1d7
......@@ -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]),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment