6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-12-13 14:43:03 +00:00

Fix "[Errno 2] No such file or directory" error on course export

Close #175
This commit is contained in:
Régis Behmo 2019-02-26 20:47:43 +01:00
parent 1485d8c4d6
commit 4adaa67e3e

View File

@ -40,7 +40,7 @@ def create_user(root, run_func, superuser, staff, name, email):
run_template(config, root, "lms", scripts.create_user, run_func) run_template(config, root, "lms", scripts.create_user, run_func)
def import_demo_course(root, run_func): def import_demo_course(root, run_func):
run_template({}, root, "lms", scripts.import_demo_course, run_func) run_template({}, root, "cms", scripts.import_demo_course, run_func)
def index_courses(root, run_func): def index_courses(root, run_func):
run_template({}, root, "cms", scripts.index_courses, run_func) run_template({}, root, "cms", scripts.index_courses, run_func)