pull/221/head
Aevann 2023-12-25 00:00:59 +02:00
parent e60e61ecf7
commit 38540c9d37
1 changed files with 1 additions and 0 deletions

View File

@ -883,6 +883,7 @@ def settings_song_change(v):
if not yt_id_regex.fullmatch(id):
return redirect("/settings/personal?error=Not a YouTube link!")
if path.isfile(f'/songs/{id}.mp3'):
v.song = id
g.db.add(v)