diff --git a/pyttsx/drivers/nsss.py b/pyttsx/drivers/nsss.py index 4f23daf..49ecaa3 100644 --- a/pyttsx/drivers/nsss.py +++ b/pyttsx/drivers/nsss.py @@ -15,6 +15,7 @@ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ''' +from objc import super from Foundation import * from AppKit import NSSpeechSynthesizer from PyObjCTools import AppHelper @@ -112,4 +113,4 @@ def speechSynthesizer_didFinishSpeaking_(self, tts, success): def speechSynthesizer_willSpeakWord_ofString_(self, tts, rng, text): self._proxy.notify('started-word', location=rng.location, - length=rng.length) \ No newline at end of file + length=rng.length)