From 40af88a194cc132b15c10a1a4b15162bf1eaa7f3 Mon Sep 17 00:00:00 2001 From: koziev ilya Date: Tue, 18 Oct 2022 19:12:25 +0300 Subject: [PATCH] changes in knowledge base storage backend: sqlite --- ruchatbot/bot/profile_facts_reader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruchatbot/bot/profile_facts_reader.py b/ruchatbot/bot/profile_facts_reader.py index d1d6360..a1c2382 100644 --- a/ruchatbot/bot/profile_facts_reader.py +++ b/ruchatbot/bot/profile_facts_reader.py @@ -109,7 +109,7 @@ def enumerate_facts(self, interlocutor): def store_new_fact(self, interlocutor, fact_text, fact_tag, unique): if fact_text.count(' ') == 0: - self.logger.error('1-word facts are not valid!: interlocutor=%s fact_text=%s fact_tag', interlocutor, fact_text, fact_tag) + self.logger.error('1-word facts are not valid!: interlocutor=%s fact_text=%s fact_tag=%s', interlocutor, fact_text, fact_tag) return # Новые факты, добавляемые собеседником в ходе диалога, сохраняем только в оперативке,