mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Allow numbers in TTS engine part of cache key (#92031)
This commit is contained in:
parent
3190e5d7cf
commit
257944c3b7
@ -101,7 +101,7 @@ _RE_LEGACY_VOICE_FILE = re.compile(
|
||||
r"([a-f0-9]{40})_([^_]+)_([^_]+)_([a-z_]+)\.[a-z0-9]{3,4}"
|
||||
)
|
||||
_RE_VOICE_FILE = re.compile(
|
||||
r"([a-f0-9]{40})_([^_]+)_([^_]+)_(tts\.[a-z_]+)\.[a-z0-9]{3,4}"
|
||||
r"([a-f0-9]{40})_([^_]+)_([^_]+)_(tts\.[a-z0-9_]+)\.[a-z0-9]{3,4}"
|
||||
)
|
||||
KEY_PATTERN = "{0}_{1}_{2}_{3}"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user