Commit d17b8a55 by kimth

Merge pull request #354 from MITx/arjun/grading_fix

arjun/grading fix
parents 79c0104a 310adbef
......@@ -39,5 +39,10 @@ def convert_files_to_filenames(answers):
'''
new_answers = dict()
for answer_id in answers.keys():
# TODO This should be done more cleanly; however, this fixes bugs
# that were introduced with this function.
if isinstance(answers[answer_id], list):
new_answers[answer_id] = answers[answer_id]
else:
new_answers[answer_id] = unicode(answers[answer_id])
return new_answers
......@@ -31,7 +31,7 @@ i4xs = ModuleSystem(
user=Mock(),
filestore=fs.osfs.OSFS(os.path.dirname(os.path.realpath(__file__))),
debug=True,
xqueue_callback_url='/',
xqueue=None, # TODO FIXME
is_staff=False
)
......
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