Merge pull request #980 from MITx/fix/cdodge/fix-import-tests

fix grading policy filepath generation
This commit is contained in:
Calen Pennington
2012-10-26 12:33:04 -07:00

View File

@@ -202,7 +202,7 @@ class CourseDescriptor(SequenceDescriptor):
# Try to load grading policy
paths = ['grading_policy.json']
if policy_dir:
paths = [policy_dir + 'grading_policy.json'] + paths
paths = [policy_dir + '/grading_policy.json'] + paths
policy = json.loads(cls.read_grading_policy(paths, system))