make sure we strip away the leading '/' from the subpath for static content otherwise the naming expectations will break

This commit is contained in:
Chris Dodge
2012-11-09 09:11:56 -05:00
parent 13700316a6
commit 5a02e37cce

View File

@@ -16,7 +16,7 @@ def import_static_content(modules, course_loc, course_data_path, static_content_
remap_dict = {}
# now import all static assets
static_dir = course_data_path / 'static'
static_dir = course_data_path / 'static/'
for dirname, dirnames, filenames in os.walk(static_dir):
for filename in filenames: