forked from Chiro-Canto/TadaridaTools
correction typo
This commit is contained in:
parent
30e1bbb327
commit
4ae3750184
@ -97,7 +97,7 @@ def chunk(outfolder, length):
|
|||||||
for file in os.listdir(outfolder):
|
for file in os.listdir(outfolder):
|
||||||
infile = os.path.join(outfolder, file)
|
infile = os.path.join(outfolder, file)
|
||||||
extension = infile.split(".")[-1]
|
extension = infile.split(".")[-1]
|
||||||
date = infile.siplit("_")[-2]
|
date = infile.split("_")[-2]
|
||||||
time = infile.split("_")[-1].split(".")[0]
|
time = infile.split("_")[-1].split(".")[0]
|
||||||
time = date + "_" + time
|
time = date + "_" + time
|
||||||
if not extension in ["wav", "WAV"]:
|
if not extension in ["wav", "WAV"]:
|
||||||
|
Loading…
Reference in New Issue
Block a user