Commit a8309d90 by ichuang

change "type" to "category" in xml_module.py

parent e78536f9
......@@ -148,8 +148,8 @@ class XmlDescriptor(XModuleDescriptor):
)
@classmethod
def _format_filepath(cls, type, name):
return '{type}/{name}.{ext}'.format(type=type, name=name, ext=cls.filename_extension)
def _format_filepath(cls, category, name):
return '{category}/{name}.{ext}'.format(category=category, name=name, ext=cls.filename_extension)
def export_to_xml(self, resource_fs):
"""
......
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