From ab5863a4dbbeb293ec9a03c6858ee22e24cb1606 Mon Sep 17 00:00:00 2001 From: Adam Palay Date: Wed, 23 Oct 2013 15:06:53 -0400 Subject: [PATCH] fixes unicode error in course image filenames on /courses page --- common/lib/xmodule/xmodule/contentstore/content.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/lib/xmodule/xmodule/contentstore/content.py b/common/lib/xmodule/xmodule/contentstore/content.py index 44a03341ed..44d38c2099 100644 --- a/common/lib/xmodule/xmodule/contentstore/content.py +++ b/common/lib/xmodule/xmodule/contentstore/content.py @@ -55,7 +55,7 @@ class StaticContent(object): @staticmethod def get_url_path_from_location(location): if location is not None: - return "/{tag}/{org}/{course}/{category}/{name}".format(**location.dict()) + return u"/{tag}/{org}/{course}/{category}/{name}".format(**location.dict()) else: return None