From 9774348633ce5f1f2efaff8a808bac753ab1dc11 Mon Sep 17 00:00:00 2001 From: ichuang Date: Wed, 16 Oct 2013 15:37:23 -0400 Subject: [PATCH] lms namespace removed --- common/djangoapps/xmodule_modifiers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/djangoapps/xmodule_modifiers.py b/common/djangoapps/xmodule_modifiers.py index 2c3c4b32f9..f8dc6750f5 100644 --- a/common/djangoapps/xmodule_modifiers.py +++ b/common/djangoapps/xmodule_modifiers.py @@ -148,7 +148,7 @@ def add_histogram(user, block, view, frag, context): # pylint: disable=unused-a # if original, unmangled filename exists then use it (github # doesn't like symlinks) filepath = filename - data_dir = module.lms.static_asset_path or osfs.root_path.rsplit('/')[-1] + data_dir = module.static_asset_path or osfs.root_path.rsplit('/')[-1] giturl = block.giturl or 'https://github.com/MITx' edit_link = "%s/%s/tree/master/%s" % (giturl, data_dir, filepath) else: