Skip to content

Commit

Permalink
some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl committed Dec 8, 2023
1 parent 97d8bbf commit 9ca6b1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ovos_plugin_manager/templates/tts.py
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ def _get_ctxt(self, kwargs):
if message:
sess = SessionManager.get(message)
lang = lang or sess.lang
voice = sess.tts_preferences["config"].get("voice")
voice = voice or sess.tts_preferences["config"].get("voice")
return TTSContext(plugin_id=self.tts_name, # TODO this should be the OPM name at some point
lang=lang or self.lang,
voice=voice or self.voice)
Expand Down

0 comments on commit 9ca6b1d

Please sign in to comment.