add extra modulestore() argument to single export script

This commit is contained in:
ichuang
2013-07-12 14:11:20 +00:00
parent 08b8438dda
commit c53dd97f79

View File

@@ -30,4 +30,4 @@ class Command(BaseCommand):
root_dir = os.path.dirname(output_path)
course_dir = os.path.splitext(os.path.basename(output_path))[0]
export_to_xml(modulestore('direct'), contentstore(), location, root_dir, course_dir)
export_to_xml(modulestore('direct'), contentstore(), location, root_dir, course_dir, modulestore())