Commit 89a4baae by David Adams Committed by Joe Blaylock

Fix unicode issue in class_dashboard.

parent 0dea8326
...@@ -319,7 +319,7 @@ def get_d3_sequential_open_distribution(course_id): ...@@ -319,7 +319,7 @@ def get_d3_sequential_open_distribution(course_id):
stack_data = [] stack_data = []
tooltip = "{0} student(s) opened Subsection {1}: {2}".format( tooltip = "{0} student(s) opened Subsection {1}: {2}".format(
num_students, c_subsection, subsection_name num_students, c_subsection, unicode(subsection_name).encode("utf-8")
) )
stack_data.append({ stack_data.append({
'color': 0, 'color': 0,
......
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