close cursor before close connection
This commit is contained in:
parent
ddeb9dfe8e
commit
ff513d850a
|
@ -344,5 +344,6 @@ class OptionsParser:
|
||||||
show))
|
show))
|
||||||
cur.execute('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.commit()
|
||||||
|
cur.close()
|
||||||
con.close()
|
con.close()
|
||||||
gajim.config.set('version', '0.10.1.5')
|
gajim.config.set('version', '0.10.1.5')
|
||||||
|
|
Loading…
Reference in New Issue