generator fix
This commit is contained in:
parent
4d01fc8399
commit
6d5109df64
@ -11,9 +11,9 @@ def generator_jezyka_nautalnego(frame, question, state):
|
||||
if question == Questions.TIME:
|
||||
print("Z jakiego czasu?")
|
||||
|
||||
elif state[-2]['questions'] != Questions.NONE and frame['act'] != "":
|
||||
elif len(state) > 2 and state[-2]['questions'] != Questions.NONE and frame['act'] != "":
|
||||
print("Przyjęto odpowiedź na pytanie.")
|
||||
|
||||
|
||||
else:
|
||||
#dont ask questions
|
||||
if frame['act'] == "hello":
|
||||
|
Loading…
Reference in New Issue
Block a user