Update speechDriver.py

This commit is contained in:
chrys 2019-02-26 14:54:55 +01:00 committed by GitHub
parent 67c99c0dfe
commit ff96933fff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -79,7 +79,9 @@ class speechDriver():
if module == '': if module == '':
return return
self.module = module self.module = module
def reset(self):
self.shutdown()
self.initialize(self.env)
def setLanguage(self, language): def setLanguage(self, language):
if not self._isInitialized: if not self._isInitialized:
return return