Skip to content

Commit

Permalink
Fix some bug
Browse files Browse the repository at this point in the history
  • Loading branch information
tsengwoody committed May 8, 2024
1 parent 5b26973 commit 69094e8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 0 additions & 4 deletions addon/globalPlugins/WorldVoice/speechSettingsDialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -499,10 +499,6 @@ class SpeechEngineSettingsPanel(BaseSettingsPanel):
# Translators: Title of a setting dialog.
title = _("Speech Engine")
settings = OrderedDict({
"VE": {
# Translators: The label of an option in the Engine settings dialog
"label": _("Activate VE")
},
"OneCore": {
# Translators: The label of an option in the Engine settings dialog
"label": _("Activate OneCore")
Expand Down
5 changes: 4 additions & 1 deletion addon/synthDrivers/WorldVoice/voice/VEVoice.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,10 @@ def engineOn(cls, lock):

@classmethod
def engineOff(cls):
_vocalizer.terminate()
try:
_vocalizer.terminate()
except BaseException:
pass

@classmethod
def voices(cls):
Expand Down

0 comments on commit 69094e8

Please sign in to comment.