Closed sthibaul closed 1 year ago
I agree with your idea. But we have to remove the dependency from main.py and speech.py too.
I agree with your idea. But we have to remove the dependency from main.py and speech.py too.
Those are only called when explicitly requesting speech, so it's expected that we get exceptions in such a case.
Okay. We will fix it later.
On first launch, test = speech.Speech() would require installing speech-dispatcher, otherwise it raises an exception. Handling the exception as "disable speech support" allows not requiring installing speech-dispatcher.
Fixes #26