Add missing import

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

View file

@ -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()