Skip to content

Commit

Permalink
bugfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mikejgray committed Oct 29, 2023
1 parent 352684d commit ba20ecb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,7 @@ def _enable_wake_word(self, ww: str, message: Message) -> bool:
return False
if resp.data.get('error'):
LOG.warning(f"WW enable failed with response: {resp.data}")
# TODO: Make sure the config exists to be enabled, or find a way to add it
return False
return True

Expand Down Expand Up @@ -422,7 +423,7 @@ def _speak_disabled_ww_error(self, spoken_ww: str) -> None:

def _set_jarvis_voice(self) -> None:
"""Disable current TTS and enable mimic3-server plugin."""
from neon_core import patch_config
from neon_core.configuration import patch_config

# Default config for ovos-tts-server-plugin uses the public OVOS Piper servers
# Since this is meant for non-technical users, the default is best
Expand Down

0 comments on commit ba20ecb

Please sign in to comment.