summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrail Finder (aider) <wohilas@gmail.com>2025-04-05 15:45:41 +0300
committerGrail Finder (aider) <wohilas@gmail.com>2025-04-05 15:45:41 +0300
commitac450f7a7d6bd45bf90cb48f1a7027e784029fa9 (patch)
treee8ed24197de5cc30931dd49196bb7096ee4ccd97
parent6ae9897f18372120ed2d2b89af1153ed4353949b (diff)
fix: Add missing correct_index to SQL insert in load_quiz_data.py
-rw-r--r--scripts/load_quiz_data.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/load_quiz_data.py b/scripts/load_quiz_data.py
index 6287d4c..1294e92 100644
--- a/scripts/load_quiz_data.py
+++ b/scripts/load_quiz_data.py
@@ -42,6 +42,7 @@ def load_questions(json_path, db_path):
options[1],
options[2],
options[3],
+ q['correct_index'],
q.get('requirement', ''),
q.get('explanation', ''),
q.get('status', 0),