Skip to content
Snippets Groups Projects
Commit b21fec30 authored by Tasawer Nawaz's avatar Tasawer Nawaz
Browse files

fix TypeError: cannot concatenate 'str' and 'NoneType' objects

LEARNER-5369
parent 93809a84
Branches
Tags
No related merge requests found
......@@ -48,7 +48,7 @@ from util.course import get_link_for_about_page, get_encoded_course_sharing_utm_
%>
<%
mode_class = course_verified_certs.get('display_mode', '')
if mode_class != '':
if mode_class:
mode_class = ' ' + mode_class ;
%>
% else:
......
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