summaryrefslogtreecommitdiff
path: root/yaksh/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'yaksh/views.py')
-rw-r--r--yaksh/views.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/yaksh/views.py b/yaksh/views.py
index 60d72e9..fffefe8 100644
--- a/yaksh/views.py
+++ b/yaksh/views.py
@@ -2689,7 +2689,6 @@ def show_lesson(request, lesson_id, module_id, course_id):
toc = TableOfContents.objects.filter(
course_id=course_id, lesson_id=lesson_id
)
-
all_modules = course.get_learning_modules()
if learn_unit.has_prerequisite():
if not learn_unit.is_prerequisite_complete(user, learn_module, course):