From 74c45b61bc35fed251fed062e0cee585dd05d9c1 Mon Sep 17 00:00:00 2001 From: Florian RICHER Date: Sat, 30 Apr 2022 21:19:41 +0200 Subject: [PATCH] Update --- README.md | 4 ++++ resources/neurons/search/search.py | 4 +--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index fb6f75a..08a9b9f 100644 --- a/README.md +++ b/README.md @@ -34,3 +34,7 @@ git clone https://github.com/kalliope-project/kalliope_starter_fr.git cd kalliope_starter_fr kalliope start ``` + +# Create custom awake term with + +https://github.com/rhasspy/snowboy-seasalt diff --git a/resources/neurons/search/search.py b/resources/neurons/search/search.py index 14f44f7..f9006eb 100644 --- a/resources/neurons/search/search.py +++ b/resources/neurons/search/search.py @@ -10,9 +10,7 @@ class Search(NeuronModule): self.query = kwargs.get('search', None) if self._is_parameters_ok(): - command = "xdg-open \"https://www.google.fr/search?q="+self.query+"&ie=utf-8&oe=utf-8\"" - p = subprocess.Popen(command, shell=True) - self.say("Youpiiiii") + subprocess.Popen("xdg-open \"https://www.google.fr/search?q="+self.query+"&ie=utf-8&oe=utf-8\"", shell=True) def _is_parameters_ok(self): """