forked from Chiro-Canto/TadaridaTools
Actualiser src/tadam.py
correction oubli déclaration variable time dans chunk
This commit is contained in:
parent
31d6ac7c36
commit
772108c218
@ -94,6 +94,7 @@ def chunk(outfolder, length):
|
||||
for file in os.listdir(outfolder):
|
||||
infile = os.path.join(outfolder, file)
|
||||
extension = infile.split(".")[-1]
|
||||
time = infile.split("_")[-1].split(".")[0]
|
||||
if not extension in ["wav", "WAV"]:
|
||||
continue
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user