Fixes for speech so windows works.

This commit is contained in:
Storm Dragon committed 2026-11-23 14:58:55 -05:00
1 parent b68e1b73c2
commit 3619c6720b
1 file changed
+6
+6
View File
@@ -54,6 +54,9 @@ class Speech:
return
except ImportError:
pass
except Exception as error:
# Installed but unusable, such as speech-dispatcher failing to start.
print(f"speechd could not be started: {error}")
# Try accessible_output2 next
try:
@@ -64,6 +67,9 @@ class Speech:
return
except ImportError:
pass
except Exception as error:
# A broken backend, such as SAPI under Wine, must not stop the game.
print(f"accessible_output2 could not be started: {error}")
# No speech providers found
print("No speech providers found.")