mirror of
https://github.com/PhoenixTwoFive/karaoqueue.git
synced 2025-05-19 02:51:48 +02:00
Fix trailing whitespace
This commit is contained in:
parent
ac940ded8c
commit
0f9ad4f91a
@ -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()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user