mirror of
https://github.com/PhoenixTwoFive/karaoqueue.git
synced 2025-07-02 00:01:41 +02:00
Fix trailing whitespace
This commit is contained in:
@ -32,7 +32,7 @@ def import_songs(song_csv):
|
|||||||
cur = conn.execute(text("ALTER TABLE songs ADD FULLTEXT(Title,Artist)"))
|
cur = conn.execute(text("ALTER TABLE songs ADD FULLTEXT(Title,Artist)"))
|
||||||
conn.commit()
|
conn.commit()
|
||||||
except Exception:
|
except Exception:
|
||||||
pass
|
pass
|
||||||
cur = conn.execute(text("SELECT Count(Id) FROM songs"))
|
cur = conn.execute(text("SELECT Count(Id) FROM songs"))
|
||||||
num_songs = cur.fetchone()[0] # type: ignore
|
num_songs = cur.fetchone()[0] # type: ignore
|
||||||
conn.commit()
|
conn.commit()
|
||||||
|
Reference in New Issue
Block a user