diff --git a/custom_components/azure_tts/tts.py b/custom_components/azure_tts/tts.py index 4058dba..60d76b8 100644 --- a/custom_components/azure_tts/tts.py +++ b/custom_components/azure_tts/tts.py @@ -405,7 +405,7 @@ def get_tts_audio(self, message, language, options=None): prosody.set('pitch', self._pitch) prosody.set('contour', self._contour) - _LOGGER.debug("Azure TTS - Request body: "+ ElementTree.tostring(body)) + _LOGGER.debug(ElementTree.tostring(body)) response = requests.post(endpoint, ElementTree.tostring(body), headers=headers) @@ -414,4 +414,4 @@ def get_tts_audio(self, message, language, options=None): except Exception as e: _LOGGER.error("Error occurred for Azure TTS: %s", e) return (None, None) - return ("mp3", data) \ No newline at end of file + return ("mp3", data)