Commit c407012f by chrisndodge

Merge pull request #1168 from MITx/bug/dhm/dec12

Import default grading_policy was setting it to a unicode empty string
parents 288e1ec9 e2526a37
......@@ -163,8 +163,8 @@ class CourseDescriptor(SequenceDescriptor):
@classmethod
def read_grading_policy(cls, paths, system):
"""Load a grading policy from the specified paths, in order, if it exists."""
# Default to a blank policy
policy_str = '""'
# Default to a blank policy dict
policy_str = '{}'
for policy_path in paths:
if not system.resources_fs.exists(policy_path):
......
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