Update
This commit is contained in:
parent
c8a2c0b634
commit
74c45b61bc
2 changed files with 5 additions and 3 deletions
|
@ -34,3 +34,7 @@ git clone https://github.com/kalliope-project/kalliope_starter_fr.git
|
||||||
cd kalliope_starter_fr
|
cd kalliope_starter_fr
|
||||||
kalliope start
|
kalliope start
|
||||||
```
|
```
|
||||||
|
|
||||||
|
# Create custom awake term with
|
||||||
|
|
||||||
|
https://github.com/rhasspy/snowboy-seasalt
|
||||||
|
|
|
@ -10,9 +10,7 @@ class Search(NeuronModule):
|
||||||
self.query = kwargs.get('search', None)
|
self.query = kwargs.get('search', None)
|
||||||
|
|
||||||
if self._is_parameters_ok():
|
if self._is_parameters_ok():
|
||||||
command = "xdg-open \"https://www.google.fr/search?q="+self.query+"&ie=utf-8&oe=utf-8\""
|
subprocess.Popen("xdg-open \"https://www.google.fr/search?q="+self.query+"&ie=utf-8&oe=utf-8\"", shell=True)
|
||||||
p = subprocess.Popen(command, shell=True)
|
|
||||||
self.say("Youpiiiii")
|
|
||||||
|
|
||||||
def _is_parameters_ok(self):
|
def _is_parameters_ok(self):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in a new issue