Commit f84f08fa by ichuang

xml_importer bugfix - when importing without policy override use course_location

parent 650f5377
......@@ -126,7 +126,7 @@ def import_from_xml(store, data_dir, course_dirs=None,
if static_content_store is not None:
import_static_content(module_store.modules[course_id], course_location, course_data_path, static_content_store,
target_location_namespace if target_location_namespace is not None else module_store.modules[course_id].location)
target_location_namespace if target_location_namespace is not None else course_location)
for module in module_store.modules[course_id].itervalues():
......
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