diff options
Diffstat (limited to 'yaksh/models.py')
-rw-r--r-- | yaksh/models.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/yaksh/models.py b/yaksh/models.py index f46ddda..8db054d 100644 --- a/yaksh/models.py +++ b/yaksh/models.py @@ -2888,7 +2888,6 @@ class LessonQuizAnswer(models.Model): elif question.type == 'float': user_answer = float(user_answer) tc_status = [] - user_answer = float(user_answer) for tc in question.get_test_cases(): if abs(tc.correct - user_answer) <= tc.error_margin: tc_status.append(True) |