Skip to content
Snippets Groups Projects
Commit 81e1a8dc authored by Bridger Maxwell's avatar Bridger Maxwell
Browse files

Changed case discrepency between course.xml and profile page

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