From 8ec72ff539a7c8ec6dc0ad87708c07be2da7200f Mon Sep 17 00:00:00 2001 From: Tiago Ribeiro Date: Mon, 25 Mar 2024 00:46:27 +0000 Subject: [PATCH] Updated the matchSentences to work correctly --- helper/exercises.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helper/exercises.py b/helper/exercises.py index 23dc378..539df85 100644 --- a/helper/exercises.py +++ b/helper/exercises.py @@ -606,7 +606,7 @@ def gen_paragraph_match_exercise(text: str, quantity: int, start_id): for i, paragraph in enumerate(paragraphs, start=start_id): sentences.append({ "id": i, - "sentence": paragraph["heading"], + "sentence": paragraph["heading"]["heading"], "solution": paragraph["letter"] })