DrDomedag commited on
Commit
bd85afe
1 Parent(s): ae925ca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -157,7 +157,7 @@ def respond(
157
  #yield response
158
  print("response:")
159
  print(response)
160
- if game.check_input_for_word(message):
161
  response = response + " \n\n---\n\n You input the word and lost one point!"
162
  else:
163
  output_check_result = game.check_output_for_word(response)
 
157
  #yield response
158
  print("response:")
159
  print(response)
160
+ if game.check_input_for_word(str(message)):
161
  response = response + " \n\n---\n\n You input the word and lost one point!"
162
  else:
163
  output_check_result = game.check_output_for_word(response)