OzoneAsai commited on
Commit
a3f4faa
1 Parent(s): e400312

Update outerElectronFl.py

Browse files
Files changed (1) hide show
  1. 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: