From 772108c218e1b7b45b446f59d36d5fb43948877a Mon Sep 17 00:00:00 2001 From: babakounine Date: Mon, 8 Jan 2024 13:35:11 +0100 Subject: [PATCH] Actualiser src/tadam.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit correction oubli déclaration variable time dans chunk --- src/tadam.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tadam.py b/src/tadam.py index 4a32321..25c84f8 100755 --- a/src/tadam.py +++ b/src/tadam.py @@ -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: