Commit 74edd24c authored by Bruno Martin's avatar Bruno Martin
Browse files

fix report sumary progress

parent c4dafba6
......@@ -75,7 +75,7 @@ class SummaryViewSet(viewsets.ViewSet):
def __plpc_course_finished(activities, answers, units_len,
units_done_len, min_percent_to_complete):
return __percent_progress(units_len, units_done_len) > min_percent_to_complete and \
return __percent_progress(units_len, units_done_len) >= min_percent_to_complete and \
activities == answers
def __percent_progress(units_len, units_done_len):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment