fixed pep8 error

pull/325/head
Arron Atchison 2016-08-15 09:17:46 -05:00
parent e761ac5a0b
commit ac1b2324dd
1 changed files with 2 additions and 3 deletions

View File

@ -39,9 +39,8 @@ class Mimic(TTS):
def execute(self, sentence):
sentences = re.split(r' *[\[a-z].\?!][\'"\)\]]* *', sentence)
for sentence in sentences:
print sentence
subprocess.call([BIN, '-voice', self.voice, '-t', sentence])
for chunk in sentences:
subprocess.call([BIN, '-voice', self.voice, '-t', chunk])
class MimicValidator(TTSValidator):