From adeb408b8ecc57d73a13f7e98f73217abd3f9ccc Mon Sep 17 00:00:00 2001 From: JarbasAi Date: Tue, 17 Oct 2023 01:58:04 +0100 Subject: [PATCH] filename --- ovos_audio/service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ovos_audio/service.py b/ovos_audio/service.py index 98ab7c9..9b63f9a 100644 --- a/ovos_audio/service.py +++ b/ovos_audio/service.py @@ -422,7 +422,7 @@ def _resolve_sound_uri(uri: str): @staticmethod def _path_from_hexdata(hex_audio, audio_ext=None): - fname = md5(hex_audio).hexdigest() + fname = md5(hex_audio.encode("utf-8")).hexdigest() bindata = binascii.unhexlify(hex_audio) if not audio_ext: LOG.warning("audio extension not sent, assuming wav")