Fausto Busuito
commited on
Commit
•
5b15795
1
Parent(s):
8cc269d
Application changes
Browse files
app.py
CHANGED
@@ -61,8 +61,7 @@ def quiz():
|
|
61 |
return redirect(url_for('results'))
|
62 |
|
63 |
question = session['questions'][session['current_question']]
|
64 |
-
|
65 |
-
multiple_selection = 'TWO' in question['question'] or 'SELECT THREE' in question['question']
|
66 |
elapsed_time = time.time() - session['start_time']
|
67 |
elapsed_time_str = time.strftime('%H:%M:%S', time.gmtime(elapsed_time))
|
68 |
|
|
|
61 |
return redirect(url_for('results'))
|
62 |
|
63 |
question = session['questions'][session['current_question']]
|
64 |
+
multiple_selection = 'SELECT TWO' in question['question'].upper() or 'SELECT THREE' in question['question'].upper() or 'CHOOSE TWO' in question['question'].upper() or 'CHOOSE THREE' in question['question'].upper()
|
|
|
65 |
elapsed_time = time.time() - session['start_time']
|
66 |
elapsed_time_str = time.strftime('%H:%M:%S', time.gmtime(elapsed_time))
|
67 |
|