diff options
Diffstat (limited to 'Dictado.py')
-rw-r--r-- | Dictado.py | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -180,7 +180,8 @@ class Dictado: else: for i in self.correctos: self.buffer.set_text(i) - subprocess.call("espeak -s 130 -v es-sc --stdout 'Enhorabuena, Felicidades has concluido el dictado muy bien' | aplay" % self.words[(self.num_clic)-1], shell=True) + #subprocess.call("espeak -s 130 -v es-sc --stdout 'Enhorabuena, Felicidades has concluido el dictado muy bien' | aplay" % self.words[(self.num_clic)-1], shell=True) + subprocess.call("espeak -s 130 -v es-sc --stdout 'Enhorabuena, Felicidades has concluido el dictado muy bien' | aplay", shell=True) self.label_info.set_label("¡Has Concluido Exitosamente!") self._write_cb("nivel.txt", str(1)) self.aciertos = 0 @@ -205,7 +206,7 @@ class Dictado: if self.texto.get_text() != "": self.num_clic += 1 if self.texto.get_text() == self.words[(self.num_clic) - 1]: - subprocess.call("espeak -s 130 -v es-sc --stdout 'correcto, has escrito bien la palabra %s' | aplay" % self.words[(self.num_clic)-1], shell=True) + subprocess.call("espeak -s 130 -v es-sc --stdout 'correcto, has escrito bien la palabra %s' | aplay" % self.words[(self.num_clic) - 1], shell=True) self._autocall_cb(100, self.aceptar)#3 es tiempo self.texto.set_text("") self.aciertos += 1 |