Commit e1cd58dc by Adam Committed by GitHub

Merge pull request #13385 from edx/release

Release
parents c03026c5 b3d29fd4
......@@ -131,7 +131,7 @@ class SubsectionGrade(object):
# There's a chance that the value of weight is not the same value used when the problem was scored,
# since we can get the value from either block_structure or CSM/submissions.
weight = block.weight
weight = getattr(block, 'weight', 1.0)
if persisted_values:
possible = persisted_values.get('possible', possible)
weight = persisted_values.get('weight', weight)
......
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