From 2442a01d0a178460cb0df205913d6fc90060e109 Mon Sep 17 00:00:00 2001 From: Yuri Yasser González Parajón Date: Fri, 27 Aug 2010 18:47:26 +0000 Subject: Puliendo, 12:47 --- diff --git a/Dictado.py b/Dictado.py index ce0ab2f..1248d83 100644 --- a/Dictado.py +++ b/Dictado.py @@ -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 -- cgit v0.9.1