diff --git a/website/for_teachers.py b/website/for_teachers.py index f680724e030..953e39f1410 100644 --- a/website/for_teachers.py +++ b/website/for_teachers.py @@ -129,7 +129,8 @@ def get_workbooks(self, level): elif exercise['type'] == 'define': exercise['title'] = 'Definiëer' exercise['icon'] = '📖' - exercise['text'] = f'**Vraag**: Wat betekent {exercise['word']}?' + word = exercise['word'] + exercise['text'] = f'**Vraag**: Wat betekent {word}?' exercise['lines'] = [line for x in range(exercise['lines'])] elif exercise['type'] == 'question':