Add matching )
This commit is contained in:
parent
36351cadb1
commit
374705d132
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
def addLyrics(text, ref = 0, db = dbtools.dbHelper()):
|
def addLyrics(text, ref = 0, db = dbtools.dbHelper()):
|
||||||
db.executeQuery("INSERT INTO lyrics(text, ref, active) VALUES('%s', %i, %i);" % (text, ref, (1 if ref == 0 else 0))
|
db.executeQuery("INSERT INTO lyrics(text, ref, active) VALUES('%s', %i, %i);" % (text, ref, (1 if ref == 0 else 0)))
|
||||||
db.commit()
|
db.commit()
|
||||||
return db.cur.lastrowid
|
return db.cur.lastrowid
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue