Commit 840e3dbb by Muhammad Shoaib

fix quality issue.

parent 6850b2bc
...@@ -252,7 +252,7 @@ def get_student_view(user_id, course_id, content_id, context): ...@@ -252,7 +252,7 @@ def get_student_view(user_id, course_id, content_id, context):
if student_view_template: if student_view_template:
template = loader.get_template(student_view_template) template = loader.get_template(student_view_template)
django_context = Context(context) django_context = Context(context)
total_time = str(timedelta(seconds=60*context['default_time_limit_mins'])) total_time = str(timedelta(seconds=60 * context['default_time_limit_mins']))
django_context.update({ django_context.update({
'total_time': total_time, 'total_time': total_time,
'exam_id': exam_id, 'exam_id': exam_id,
......
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