Thiloid commited on
Commit
6affa62
·
verified ·
1 Parent(s): 2f9ee06

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -167,7 +167,7 @@ def is_single_word_question(question):
167
  words = question.split()
168
  # Überprüfen, ob nur ein Wort vorhanden ist
169
  if len(words) == 1:
170
- if words.lower()=="fertig":
171
  return 1
172
  return 0
173
  def get_value_after_question_mark(url):
 
167
  words = question.split()
168
  # Überprüfen, ob nur ein Wort vorhanden ist
169
  if len(words) == 1:
170
+ if words[0].lower() == "fertig": # `words[0]` refers to the single word in the list
171
  return 1
172
  return 0
173
  def get_value_after_question_mark(url):