remove useless assert in convert_to_wav

This commit is contained in:
bretello 2024-06-14 19:55:29 +02:00
parent 3c651d65aa
commit d5877058e3
Signed by: brethil
GPG Key ID: 876AAC6290170FE7

1
app.py
View File

@ -17,7 +17,6 @@ os.makedirs("uploads", exist_ok=True)
def convert_to_wav(file_name: str):
assert file_name.endswith(".wav")
output, extension = file_name.rsplit(".", maxsplit=1)
assert extension != "wav"