Commit 548f9b85 by Will Daly

Changed response_msg argument default to ''

parent 28a502ea
...@@ -174,7 +174,7 @@ class LoncapaResponse(object): ...@@ -174,7 +174,7 @@ class LoncapaResponse(object):
''' '''
return sum(self.maxpoints.values()) return sum(self.maxpoints.values())
def render_html(self, renderer, response_msg=None): def render_html(self, renderer, response_msg=''):
''' '''
Return XHTML Element tree representation of this Response. Return XHTML Element tree representation of this Response.
......
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