Update outerElectronFl.py
Browse files- outerElectronFl.py +1 -1
outerElectronFl.py
CHANGED
@@ -26,7 +26,7 @@ def quiz():
|
|
26 |
result = None
|
27 |
|
28 |
if request.method == 'POST':
|
29 |
-
user_input = request.form['user_input']
|
30 |
if user_input == session['current_化合物名']:
|
31 |
result = '正解です!'
|
32 |
else:
|
|
|
26 |
result = None
|
27 |
|
28 |
if request.method == 'POST':
|
29 |
+
user_input = int(request.form['user_input'])
|
30 |
if user_input == session['current_化合物名']:
|
31 |
result = '正解です!'
|
32 |
else:
|