Fix paragraph match bug.
This commit is contained in:
@@ -725,7 +725,7 @@ def gen_paragraph_match_exercise(text: str, quantity: int, start_id):
|
||||
|
||||
options = []
|
||||
for i, paragraph in enumerate(paragraphs, start=0):
|
||||
paragraph["heading"] = headings[i]
|
||||
paragraph["heading"] = headings[i]["heading"]
|
||||
options.append({
|
||||
"id": paragraph["letter"],
|
||||
"sentence": paragraph["paragraph"]
|
||||
|
||||
Reference in New Issue
Block a user