remove leftover code causing error

pull/173/head
Aevann 2023-07-30 03:14:11 +03:00
parent b5c1bd2ca9
commit 51d6d6f3cf
1 changed files with 0 additions and 2 deletions

View File

@ -825,8 +825,6 @@ def _change_song_youtube(vid, id):
try: ydl.download([f"https://youtube.com/watch?v={id}"])
except Exception as e:
print(e, flush=True)
db.rollback()
db.close()
return
os.rename(f"/temp_songs/{id}.mp3", f"/songs/{id}.mp3")