diff --git a/vigilancia/voz.py b/vigilancia/voz.py index 2e42913..78f402f 100644 --- a/vigilancia/voz.py +++ b/vigilancia/voz.py @@ -326,9 +326,10 @@ def anuncio_simple(texto): """Mensaje rapido: enciende, reproduce el mensaje una vez y apaga.""" if not config.GOOGLE_TV_ACTIVO: return - url_mensaje, tipo = _url_audio(texto) + url_mensaje = _url_audio(texto) if url_mensaje is None: return + tipo = "audio/mpeg" try: import pychromecast