Skip to content

Commit

Permalink
inline another f-string
Browse files Browse the repository at this point in the history
  • Loading branch information
Felienne committed Nov 1, 2024
1 parent 8afbeac commit 7eb24db
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion website/for_teachers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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':
Expand Down

0 comments on commit 7eb24db

Please sign in to comment.