From 9e84f8c78e89fbd4c6230b6f37ad9192757c8824 Mon Sep 17 00:00:00 2001 From: chrys87 Date: Tue, 5 Jul 2016 09:44:13 +0200 Subject: [PATCH] Fix class some syntax and name problems. --- src/speech/es.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/speech/es.py b/src/speech/es.py index 10dbc51e..c5625e84 100644 --- a/src/speech/es.py +++ b/src/speech/es.py @@ -3,14 +3,14 @@ # Espeak driver class speech(): - def __init__(): + def __init__(self): pass - def start_speech(text, queueable=True): - if queueable == False: stop_speech() + def speak(text, queueable=True): + if queueable == False: self.stop() - def stop_speech(): + def stop(self): pass - def clear_speech_buffer(): + def clear_buffer(self): pass