From 7eac33a90f61f3e6385a2414ee14f77bfd7031f1 Mon Sep 17 00:00:00 2001 From: Andrey Date: Mon, 19 Feb 2018 12:02:35 +0300 Subject: [PATCH] migrate update --- progress/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/progress/views.py b/progress/views.py index efc9448..3c0c60b 100644 --- a/progress/views.py +++ b/progress/views.py @@ -108,7 +108,7 @@ class TeacherUpdateProgress(APIView): lesson_token=lesson_token, ) - if not pv.status == ProgressLesson.STATUSES.wait: + if pv.status == ProgressLesson.STATUSES.wait: if action == "no": pv.status = ProgressLesson.STATUSES.fail