Commit e9432fad authored by lintangsutawika's avatar lintangsutawika
Browse files

fixed doc_to_choice in race

parent 9218bcff
...@@ -15,7 +15,7 @@ def get_answer_option(problem): ...@@ -15,7 +15,7 @@ def get_answer_option(problem):
return problem["options"][answer] return problem["options"][answer]
def create_choices(doc): def doc_to_choice(doc):
problem = last_problem(doc) problem = last_problem(doc)
choices = [problem["options"][i] for i in range(4)] choices = [problem["options"][i] for i in range(4)]
return choices return choices
......
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