1
0
Fork 0
This commit is contained in:
Florian RICHER 2022-04-30 21:19:41 +02:00
parent c8a2c0b634
commit 74c45b61bc
2 changed files with 5 additions and 3 deletions

View file

@ -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

View file

@ -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):
"""