Commit a81ab869 by Matthew Mongeau

Fix textbook module.

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