Fix paragraph match bug.

This commit is contained in:
Cristiano Ferreira
2024-07-16 23:38:35 +01:00
parent b4dc6be927
commit e7d84b9704
2 changed files with 2 additions and 2 deletions

View File

@@ -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"]