Add matching )

This commit is contained in:
Klaus-Uwe Mitterer 2017-02-21 16:08:09 +01:00
parent 36351cadb1
commit 374705d132

View file

@ -1,7 +1,7 @@
#!/usr/bin/env python3
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()
return db.cur.lastrowid