Commit 2f675be2 by Calen Pennington

Coerce location to Location when generating LMS link

parent 5f0e237a
......@@ -36,6 +36,7 @@ def get_course_location_for_item(location):
def get_lms_link_for_item(location):
location = Location(location)
if settings.LMS_BASE is not None:
lms_link = "{lms_base}/courses/{course_id}/jump_to/{location}".format(
lms_base=settings.LMS_BASE,
......
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