Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
MOOC packages by hacklab
django-courses
Commits
74edd24c
Commit
74edd24c
authored
Aug 13, 2020
by
Bruno Martin
Browse files
fix report sumary progress
parent
c4dafba6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
courses/reports/views.py
courses/reports/views.py
+1
-1
No files found.
courses/reports/views.py
View file @
74edd24c
...
...
@@ -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
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment