fix: fix string formatting for TTS command

This commit is contained in:
Twirre Meulenbelt
2026-05-12 11:14:40 +02:00
parent 19f2720620
commit 014981a1ca

View File

@@ -156,7 +156,7 @@ class ActuationReceiver(ReceiverBase):
try:
text = self._message_queue.get(timeout=0.1)
state.is_speaking = True
self._tts_service.say("\VCT={}\{}\RST\".format(settings.robot_config.voice_shaping, text))
self._tts_service.say("\\VCT={}\\{}\\RST\\".format(settings.robot_config.voice_shaping, text))
except Queue.Empty:
state.is_speaking = False
except RuntimeError: