Add missing sysadmin dashboard unicode cast
This commit is contained in:
@@ -425,7 +425,7 @@ class Courses(SysadminDashboardView):
|
||||
color = 'blue'
|
||||
|
||||
msg = u"<h4 style='color:{0}'>{1}</h4>".format(color, msg_header)
|
||||
msg += "<pre>{0}</pre>".format(escape(ret))
|
||||
msg += u"<pre>{0}</pre>".format(escape(ret))
|
||||
return msg
|
||||
|
||||
def import_xml_course(self, gitloc, branch):
|
||||
|
||||
Reference in New Issue
Block a user