Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
allow older OPM versions
Browse files Browse the repository at this point in the history
JarbasAl committed Apr 25, 2024
1 parent 3079fa7 commit 854c8f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ovos_audio/playback.py
Original file line number Diff line number Diff line change
@@ -93,7 +93,7 @@ def on_end(self, listen=False, message=None):
# Clear cache for all attached tts objects
# This is basically the only safe time
try:
from ovos_plugin_manager.templates.tts import TTS, TTSContext
from ovos_plugin_manager.templates.tts import TTSContext
TTSContext.curate_caches()
except ImportError:
LOG.warning("failed to curate TTS cache. please update ovos-plugin-manager")

0 comments on commit 854c8f7

Please sign in to comment.