From 374705d13248fc1e802dbe82ed87cfa04f13da95 Mon Sep 17 00:00:00 2001 From: Klaus-Uwe Mitterer Date: Tue, 21 Feb 2017 16:08:09 +0100 Subject: [PATCH] Add matching ) --- lyricsmanager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lyricsmanager.py b/lyricsmanager.py index 8d70329..c974def 100755 --- a/lyricsmanager.py +++ b/lyricsmanager.py @@ -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