From b8cbe02aab2adfe7ed1def4640e55bf0cebbf570 Mon Sep 17 00:00:00 2001 From: Shingo Kitagawa Date: Sat, 25 Dec 2021 02:59:05 +0900 Subject: [PATCH] fix typo in dialogflow_client.py --- dialogflow_task_executive/node_scripts/dialogflow_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow_task_executive/node_scripts/dialogflow_client.py b/dialogflow_task_executive/node_scripts/dialogflow_client.py index 5f443346b..9cb354f47 100755 --- a/dialogflow_task_executive/node_scripts/dialogflow_client.py +++ b/dialogflow_task_executive/node_scripts/dialogflow_client.py @@ -164,7 +164,7 @@ def print_result(self, result): def publish_result(self, result): msg = DialogResponse() msg.header.stamp = rospy.Time.now() - if result.action is not 'input.unknown': + if result.action != 'input.unknown': rospy.logwarn("Unknown action") msg.query = result.query_text.encode("utf-8") msg.action = result.action