From 894ae58bc3706759db885bb282200156b9bbaadb Mon Sep 17 00:00:00 2001 From: Calen Pennington Date: Tue, 3 Jul 2012 21:22:36 -0400 Subject: [PATCH] Use unicode for filepaths in data repos --- common/lib/xmodule/xmodule/xml_module.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/lib/xmodule/xmodule/xml_module.py b/common/lib/xmodule/xmodule/xml_module.py index 5699f962cf..4d0ef3606a 100644 --- a/common/lib/xmodule/xmodule/xml_module.py +++ b/common/lib/xmodule/xmodule/xml_module.py @@ -158,7 +158,7 @@ class XmlDescriptor(XModuleDescriptor): @classmethod def _format_filepath(cls, type, name): - return '{type}/{name}.{ext}'.format(type=type, name=name, ext=cls.filename_extension) + return u'{type}/{name}.{ext}'.format(type=type, name=name, ext=cls.filename_extension) def export_to_xml(self, resource_fs): """