diff --git a/src/ocab_modules/ocab_modules/standard/welcome/verifications_methods/question.py b/src/ocab_modules/ocab_modules/standard/welcome/verifications_methods/question.py index eb25afc..6e9bca0 100644 --- a/src/ocab_modules/ocab_modules/standard/welcome/verifications_methods/question.py +++ b/src/ocab_modules/ocab_modules/standard/welcome/verifications_methods/question.py @@ -47,7 +47,7 @@ class BaseQuestionsTask(SimpleVariantsBaseTask): self.correct = correct_answer async def verify(self, data): - return self.variants[data] == self.correct + return self.variants[int(data)] == self.correct class QuestionInlineButtonsTask(BaseQuestionsTask, SimpleInlineButtonsTask):