allow mp3 voices

This commit is contained in:
James Betker 2022-04-28 17:38:37 -06:00
parent e8966d09cf
commit 782a55d0cd

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