Skip to content

Commit

Permalink
Fix missing return in _validate_message_context
Browse files Browse the repository at this point in the history
  • Loading branch information
NeonDaniel committed Oct 26, 2023
1 parent 0d1a420 commit ff850c4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions neon_speech/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,8 @@ def _validate_message_context(self, message: Message, native_sources=None):
log_deprecation(f"Adding audio to destination context for "
f"{message.msg_type}", "5.0.0")
message.context['destination'].append('audio')
return OVOSDinkumVoiceService._validate_message_context(self, message,
native_sources)

def run(self):
if self.config.get('listener', {}).get('enable_voice_loop', True):
Expand Down

0 comments on commit ff850c4

Please sign in to comment.