117
116
def check_answer(self, given_answer):
118
117
""" check if the given answer to the question is correct """
125
120
success_status = success and u"success" or u"failure"
126
121
logging.info(u"TextCha: %s (u='%s', a='%s', re='%s', q='%s')" % (