Skip to content

Commit

Permalink
filename
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl committed Oct 17, 2023
1 parent 20d726d commit adeb408
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ovos_audio/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit adeb408

Please sign in to comment.