From ddeb9dfe8e5467f37ff747b56f70dfbcb69b274c Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Sun, 8 Oct 2006 13:18:32 +0000 Subject: [PATCH] execute not executescript --- src/common/optparser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/optparser.py b/src/common/optparser.py index e181f516e..fd0bfd73c 100644 --- a/src/common/optparser.py +++ b/src/common/optparser.py @@ -342,7 +342,7 @@ class OptionsParser: for show in status: cur.execute('update logs set show = ? where show = ?;', (status[show], show)) - cur.executescript('update logs set show = NULL where show not in (0, 1, 2, 3, 4, 5);') + cur.execute('update logs set show = NULL where show not in (0, 1, 2, 3, 4, 5);') con.commit() con.close() gajim.config.set('version', '0.10.1.5')