Added individual result correct/incorrect flag

This commit is contained in:
2021-12-06 13:42:26 +00:00
parent 2e4035d8a4
commit bf7e0a2a18
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.',