mirror of
https://gitflic.ru/project/alt-gnome/karkas.git
synced 2024-12-23 16:23:02 +03:00
фикс в BaseQuestionsTask
This commit is contained in:
parent
afbd277428
commit
b7cba315d7
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user