cleaned filenames
This commit is contained in:
committed by
Calen Pennington
parent
65e3982fd2
commit
deca6e66b0
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user