diff --git a/helper/constants.py b/helper/constants.py index 67df516..72d123b 100644 --- a/helper/constants.py +++ b/helper/constants.py @@ -40,7 +40,7 @@ SPEAKING_MIN_TIMER_DEFAULT = 14 BLACKLISTED_WORDS = ["jesus", "sex", "gay", "lesbian", "homosexual", "god", "angel", "pornography", "beer", "wine", "cocaine", "alcohol", "nudity", "lgbt", "casino", "gambling", "catholicism", - "discrimination", "politics", "politic", "christianity", "islam", "christian", "christians", + "discrimination", "politic", "christianity", "islam", "christian", "christians", "jews", "jew", "discrimination", "discriminatory"] EN_US_VOICES = [ diff --git a/helper/exercises.py b/helper/exercises.py index 776c0cb..3ae72b0 100644 --- a/helper/exercises.py +++ b/helper/exercises.py @@ -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"]