hotfix
This commit is contained in:
parent
4718ac55aa
commit
cb8941b97c
1 changed files with 3 additions and 3 deletions
4
main.py
4
main.py
|
@ -209,8 +209,8 @@ def get_files(dir_, config):
|
||||||
name = os.path.join(dir_, i)
|
name = os.path.join(dir_, i)
|
||||||
if name == None:
|
if name == None:
|
||||||
sounds_list.append(i)
|
sounds_list.append(i)
|
||||||
elif os.path.splitext(name)[1] in ['.mp3', '.m4a', '.wav']:
|
elif os.path.splitext(i)[1] in ['.mp3', '.m4a', '.wav']:
|
||||||
sounds_list.append(name)
|
sounds_list.append(i)
|
||||||
else:
|
else:
|
||||||
sounds_list_cat = [os.path.join(dir_, i)]
|
sounds_list_cat = [os.path.join(dir_, i)]
|
||||||
for x in os.listdir(os.path.join(dir_, i)):
|
for x in os.listdir(os.path.join(dir_, i)):
|
||||||
|
|
Loading…
Add table
Reference in a new issue