From 0f9ad4f91a460ff3927ca80919d100c6147ccdf2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Phillip=20K=C3=BChne?= Date: Wed, 4 Oct 2023 01:02:30 +0000 Subject: [PATCH] Fix trailing whitespace --- backend/database.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/database.py b/backend/database.py index ba9c731..d5f90f8 100644 --- a/backend/database.py +++ b/backend/database.py @@ -32,7 +32,7 @@ def import_songs(song_csv): cur = conn.execute(text("ALTER TABLE songs ADD FULLTEXT(Title,Artist)")) conn.commit() except Exception: - pass + pass cur = conn.execute(text("SELECT Count(Id) FROM songs")) num_songs = cur.fetchone()[0] # type: ignore conn.commit()