datei fix fix

This commit is contained in:
mikka 2026-05-02 08:57:30 +02:00
parent 666e79e8ce
commit 6f1ebf690d

2
app.py
View file

@ -48,7 +48,7 @@ def datei(id):
if file == []:
subprocess.run(["yt-dlp",f"http://youtu.be/{id}","-x","-o",id],cwd="static")
file = glob("static/"+id+".*")
if file === []:
if file == []:
audio = file[0].replace("static/", "")
return audio