From a0606c4749c8d2f1cf35e988e83b26d90d709c58 Mon Sep 17 00:00:00 2001 From: Jakub Henyk Date: Thu, 20 Apr 2023 23:55:09 +0200 Subject: [PATCH] Small fix --- system1.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/system1.py b/system1.py index 3d34795..0832182 100644 --- a/system1.py +++ b/system1.py @@ -33,6 +33,8 @@ class DialogueStateTracker: self.state = "told_name" if any(item == "inform(rock_n_stone = True)" in user_act["type"] for item in user_act["type"]): self.state = "rock_n_stone" + if any(item == "null()" in user_act["type"] for item in user_act["type"]): + self.state = "unknown" return self.state