allow mp3 voices

This commit is contained in:
James Betker 2022-04-28 17:38:37 -06:00
parent e857911fca
commit 87cfba0d31

View File

@ -87,7 +87,7 @@ def get_voices():
for sub in subs:
subj = os.path.join('voices', sub)
if os.path.isdir(subj):
voices[sub] = glob(f'{subj}/*.wav')
voices[sub] = list(glob(f'{subj}/*.wav')) + list(glob(f'{subj}/*.mp3'))
return voices