Skip to content
Snippets Groups Projects
Commit 8643b725 authored by David Ormsbee's avatar David Ormsbee Committed by Calen Pennington
Browse files

Change inaccurate comment.

parent 46e108e1
No related branches found
No related tags found
No related merge requests found
......@@ -179,8 +179,10 @@ class LoncapaProblem(object):
def get_question_answers(self):
"""Returns a dict of answer_ids to answer values. If we can't generate
an answer (because it's a customresponse type), that answer_id is
not included."""
an answer (this sometimes happens in customresponses), that answer_id is
not included. Called by "show answers" button JSON request
(see capa_module)
"""
context=self.extract_context(self.tree)
answer_map = dict()
problems_simple = self.extract_problems(self.tree) # purified (flat) XML tree of just response queries
......
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