From 5d7ff0c15c281cdd6f7ee009382c56c8796394b1 Mon Sep 17 00:00:00 2001 From: Mathieu B Date: Wed, 28 Jul 2021 23:13:53 +0200 Subject: [PATCH] Fixed domain using fixed string instead of parameter domain --- jarvis/skills/intent_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jarvis/skills/intent_manager.py b/jarvis/skills/intent_manager.py index 03ab4a8..3eff940 100644 --- a/jarvis/skills/intent_manager.py +++ b/jarvis/skills/intent_manager.py @@ -18,7 +18,7 @@ def register_regex(regex, domain): def register_intent(intent, domain): - engine.register_intent_parser(intent, domain='WikipediaSkill') + engine.register_intent_parser(intent, domain=domain) print("[Adapt]: Registered new intent " + intent.name + " for skill " + domain)