Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 4, 2024
1 parent 1ea71c5 commit cac2e4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/for_teachers.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,14 +127,14 @@ def get_workbooks(self, level):
exercise['options'] = '〇 ' + ' 〇 '.join(exercise['options'])

elif exercise['type'] == 'define':
exercise['title'] = gettext('workbook_define_question_title') #''
exercise['title'] = gettext('workbook_define_question_title') # ''
exercise['icon'] = '📖'
word = exercise['word']
exercise['text'] = safe_format(gettext('workbook_define_question_text'), word=word)
exercise['lines'] = [line for x in range(exercise['lines'])]

elif exercise['type'] == 'question':
exercise['title'] = gettext('workbook_open_question_title') # ''
exercise['title'] = gettext('workbook_open_question_title') # ''
exercise['icon'] = '✍️'
exercise['lines'] = [line for x in range(exercise['lines'])]

Expand Down

0 comments on commit cac2e4b

Please sign in to comment.