Sophie

Sophie

distrib > Fedora > 18 > i386 > by-pkgid > 2b3b889cab0def714d6ac88fd854995f > files > 2

openteacher-3.0-2.fc18.src.rpm

Index: openteacher-3.0/openteacher/modules/org/openteacher/textToSpeech/textToSpeech.py
===================================================================
--- openteacher-3.0.orig/openteacher/modules/org/openteacher/textToSpeech/textToSpeech.py
+++ openteacher-3.0/openteacher/modules/org/openteacher/textToSpeech/textToSpeech.py
@@ -138,7 +138,7 @@ class TextToSpeechModule(object):
 		
 	def _enable(self):
 		# For Windows and Mac
-		pyttsx = self._mm.importFrom(self._mm.resourcePath("tts"), "pyttsx")
+		import pyttsx
 
 		# Create text to speech engine
 		try: