Add missing import
This commit is contained in:
parent
374705d132
commit
fa95db9bf4
1 changed files with 2 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
import dbtools
|
||||
|
||||
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.commit()
|
||||
|
|
Loading…
Reference in a new issue