Sophie

Sophie

distrib > Fedora > 16 > x86_64 > media > updates-src > by-pkgid > c38e545457d407aa360de4f60523fbad > files > 2

openteacher-3.0-2.fc16.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: