generator fix
This commit is contained in:
parent
4d01fc8399
commit
6d5109df64
@ -11,7 +11,7 @@ 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:
|
||||
|
Loading…
Reference in New Issue
Block a user