Skip to content

Commit

Permalink
Merge pull request #4 from crystaldelta/AYO/Module7-export-failed-fix
Browse files Browse the repository at this point in the history
AYO/Module 7 export failed issue fixed
  • Loading branch information
CD393-Manimaran authored Apr 9, 2024
2 parents 7ab4a9a + 216ccb2 commit 7288786
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions edx_sga/sga.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ def add_xml_to_node(self, node):
"""
Override default serialization to output solution field as a separate child element.
"""
super().add_xml_to_node(node)
super(StaffGradedAssignmentXBlock, self).add_xml_to_node(node)

if 'solution' in node.attrib:
# Try outputting it as an XML element if we can
Expand Down Expand Up @@ -620,7 +620,7 @@ def studio_view(self, context=None):
Render a form for editing this XBlock
"""
# this method only exists to provide context=None for backwards compat
return super().studio_view(context)
return super(StaffGradedAssignmentXBlock, self).studio_view(context)

def clear_student_state(self, *args, **kwargs):
# pylint: disable=unused-argument
Expand Down

0 comments on commit 7288786

Please sign in to comment.