Commit 9d0e771a by dragonfi

SharedHeaderBlock: Inline unnecessary format value

parent a3ffcdda
......@@ -47,8 +47,7 @@ class SharedHeaderBlock(LightChild):
return block
def student_view(self, context=None):
return Fragment(u"<script type='text/template' id='{}'>\n{}\n</script>".format(
'light-child-template',
return Fragment(u"<script type='text/template' id='light-child-template'>\n{}\n</script>".format(
self.content
))
......
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