From ff513d850aa7b078e4daec234ee15a2c1f46c654 Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Sun, 8 Oct 2006 13:54:22 +0000 Subject: [PATCH] close cursor before close connection --- src/common/optparser.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common/optparser.py b/src/common/optparser.py index fd0bfd73c..596e99d0b 100644 --- a/src/common/optparser.py +++ b/src/common/optparser.py @@ -344,5 +344,6 @@ class OptionsParser: show)) cur.execute('update logs set show = NULL where show not in (0, 1, 2, 3, 4, 5);') con.commit() + cur.close() con.close() gajim.config.set('version', '0.10.1.5')