diff options
author | Yuri Yasser González Parajón <yurigonzalezni@gmail.com> | 2010-08-27 18:47:26 (GMT) |
---|---|---|
committer | Yuri Yasser González Parajón <yurigonzalezni@gmail.com> | 2010-08-27 18:47:26 (GMT) |
commit | 2442a01d0a178460cb0df205913d6fc90060e109 (patch) | |
tree | fa0e25c5d8f7b20a4417b42315845fee1a8fb3ab | |
parent | 3ac9a220ee9fbb10b42dacc6b6bbb4218dcbacd2 (diff) |
Puliendo, 12:47
-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 |