Commit deca6e66 by Lyla Fischer Committed by Calen Pennington

cleaned filenames

parent 65e3982f
......@@ -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)
......
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