summaryrefslogtreecommitdiff
path: root/routes/question.py
diff options
context:
space:
mode:
Diffstat (limited to 'routes/question.py')
-rw-r--r--routes/question.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/question.py b/routes/question.py
index 41722d5..9ddb527 100644
--- a/routes/question.py
+++ b/routes/question.py
@@ -46,7 +46,7 @@ def new_question():
return redirect("/#question")
question_id = D.question_new( question, neg_ans, pos_ans )
- D.quiz_add(qid, question_id)
+ D.quiz.add(qid, question_id)
D.answer_new(sid, question_id, answer)
return redirect("/#create")