diff --git a/common/lib/xmodule/xmodule/xml_module.py b/common/lib/xmodule/xmodule/xml_module.py index 16016ca23f..0b0b1225b1 100644 --- a/common/lib/xmodule/xmodule/xml_module.py +++ b/common/lib/xmodule/xmodule/xml_module.py @@ -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): """