diff --git a/App.py b/App.py index e120b16..a53eaa0 100644 --- a/App.py +++ b/App.py @@ -40,6 +40,7 @@ def ask(): print(question[1]) db = sqlite3.connect(DATABASE) db_conn = db.cursor() + db_conn.execute("INSERT INTO question (subject_id, question_text, upvotes) VALUES (?, ?,?);",(1,question[1],0)) db.commit() return '200'