Some syntax errors fixed. Syntax checking added. Release checklist created.
This commit is contained in:
@ -59,8 +59,7 @@ class command(config_command):
|
||||
|
||||
except Exception as e:
|
||||
self.present_text(
|
||||
f"Failed to reset configuration: {
|
||||
str(e)}",
|
||||
f"Failed to reset configuration: {str(e)}",
|
||||
interrupt=False,
|
||||
flush=False,
|
||||
)
|
||||
|
@ -34,8 +34,7 @@ class command:
|
||||
SpeechDriver.initialize(self.env)
|
||||
except Exception as e:
|
||||
print(
|
||||
f"revert_to_saved SpeechDriver: Error reinitializing speech driver: {
|
||||
str(e)}"
|
||||
f"revert_to_saved SpeechDriver: Error reinitializing speech driver: {str(e)}"
|
||||
)
|
||||
|
||||
# Reinitialize sound system with restored settings
|
||||
|
@ -45,8 +45,7 @@ class command:
|
||||
self.env["runtime"]["SpeechDriver"].set_rate(new_rate)
|
||||
except Exception as e:
|
||||
print(
|
||||
f"adjust_speech_rate set_rate: Error setting speech rate: {
|
||||
str(e)}"
|
||||
f"adjust_speech_rate set_rate: Error setting speech rate: {str(e)}"
|
||||
)
|
||||
|
||||
new_percent = int(new_rate * 100)
|
||||
|
Reference in New Issue
Block a user