From fa95db9bf40284e64e953b5a83fc3c31efcadeb0 Mon Sep 17 00:00:00 2001 From: Klaus-Uwe Mitterer Date: Tue, 21 Feb 2017 16:09:40 +0100 Subject: [PATCH] Add missing import --- lyricsmanager.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lyricsmanager.py b/lyricsmanager.py index c974def..82d6fb4 100755 --- a/lyricsmanager.py +++ b/lyricsmanager.py @@ -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()