Added individual result correct/incorrect flag

This commit is contained in:
2021-12-06 13:42:26 +00:00
parent ac21f571b4
commit 10a524b7b8
3 changed files with 16 additions and 2 deletions

View File

@ -75,7 +75,7 @@ def start():
'test_code': test_code,
'user_code': user_code
}
if db.entries.insert(entry):
if db.entries.insert_one(entry):
session['_id'] = entry['_id']
return jsonify({
'success': 'Received and validated test and/or user code. Redirecting to test client.',