fix: quiz progress and youtube video integration

This commit is contained in:
pateljannat
2021-06-24 10:25:23 +05:30
parent 5d96bf544d
commit 0284c9305c
24 changed files with 352 additions and 242 deletions

View File

@@ -27,7 +27,7 @@ def get_common_context(context):
context.members = course.get_mentors(membership.batch) + course.get_students(membership.batch)
context.member_count = len(context.members)
context.course.query_parameter = "?batch=" + membership.batch if membership and membership.batch else ""
context.course.query_parameter = "?batch=" + membership.batch if membership and membership.batch else " "
context.livecode_url = get_livecode_url()
def get_livecode_url():