Skip to content

Commit cdf2b0b

Browse files
committedOct 29, 2021
🔧 (tutor_xqueue) remove tutor.py as it has error when integrating
tutor.py is originally created for working with the xqueue image. I try to re-use it in this application, but it has error in import .setting
1 parent 3f06f2b commit cdf2b0b

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed
 

‎settings.py

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
1-
import tutor
2-
31
# $(tutor config printroot)/data/xqueue/media/openedx
4-
SAVE_FILE_DIR = "/home/title/.local/share/tutor/data/xqueue/media/openedx/"
2+
# SAVE_FILE_DIR = "/home/title/.local/share/tutor/data/xqueue/media/openedx/"
3+
SAVE_FILE_DIR = "./data/openedx/"
54

65
# use relative path for nbgrader
76
NBGRADER_DIR = "./nbgrader_workspace/"
87

98
# tutor config
109
tutor_config = {
1110
"XQUEUE_AUTH_USERNAME": "lms",
12-
"XQUEUE_AUTH_PASSWORD": tutor.USERS.get('lms'),
11+
"XQUEUE_AUTH_PASSWORD": "mVlLdT1h",
1312
"ACTIVATE_HTTPS": False,
1413
"XQUEUE_HOST": "xqueue.learn-ai.t.innosoft.kmutt.ac.th"
15-
}
14+
}

‎tutor.py

-2
This file was deleted.

0 commit comments

Comments
 (0)
Please sign in to comment.