From ff96933fff02c82331b10c2773200644bd9dbeab Mon Sep 17 00:00:00 2001 From: chrys Date: Tue, 26 Feb 2019 14:54:55 +0100 Subject: [PATCH] Update speechDriver.py --- src/fenrirscreenreader/core/speechDriver.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/fenrirscreenreader/core/speechDriver.py b/src/fenrirscreenreader/core/speechDriver.py index ca4df1d4..321ed950 100644 --- a/src/fenrirscreenreader/core/speechDriver.py +++ b/src/fenrirscreenreader/core/speechDriver.py @@ -79,7 +79,9 @@ class speechDriver(): if module == '': return self.module = module - + def reset(self): + self.shutdown() + self.initialize(self.env) def setLanguage(self, language): if not self._isInitialized: return