Commit 34010a38 by Matthew Mongeau

Fix textbook module.

parent ae09598d
......@@ -3,11 +3,14 @@ from xmodule.xml_module import XmlDescriptor
from lxml import etree
class TextbookModule(XModule):
def __init__(self, system, location, definition, instance_state=None,
def __init__(self, system, location, definition, descriptor, instance_state=None,
shared_state=None, **kwargs):
XModule.__init__(self, system, location, definition,
XModule.__init__(self, system, location, definition, descriptor,
instance_state, shared_state, **kwargs)
def get_display_items(self):
return []
class TextbookDescriptor(XmlDescriptor):
module_class = TextbookModule
......
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