Update app.py
Browse files
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)
|