From deca6e66b0e92879dab0eca81b39f4fb47651100 Mon Sep 17 00:00:00 2001 From: Lyla Fischer Date: Thu, 4 Oct 2012 15:03:51 -0400 Subject: [PATCH] cleaned filenames --- 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 48ef078fd9..085823c4c7 100644 --- a/common/lib/xmodule/xmodule/contentstore/content.py +++ b/common/lib/xmodule/xmodule/contentstore/content.py @@ -24,7 +24,7 @@ class StaticContent(object): @staticmethod def compute_location(org, course, name, revision=None): - return Location([XASSET_LOCATION_TAG, org, course, 'asset', name, revision]) + return Location([XASSET_LOCATION_TAG, org, course, 'asset', Location.clean(name), revision]) def get_id(self): return StaticContent.get_id_from_location(self.location)