Skip to content

Commit

Permalink
Fix for attempting to access local variable 'ffmpeg_cmd_string' when …
Browse files Browse the repository at this point in the history
…not associated with a value
  • Loading branch information
nimroddolev committed Dec 17, 2024
1 parent c91fdcf commit d58299d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions custom_components/chime_tts/helpers/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -621,6 +621,7 @@ async def async_ffmpeg_convert_from_file(self, hass: HomeAssistant, file_path: s
_LOGGER.debug("Audio is already Alexa Media Player compatible")
return file_path

ffmpeg_cmd_string = ""
try:
# Add standard arguments
ffmpeg_cmd = [
Expand Down

0 comments on commit d58299d

Please sign in to comment.