close cursor before close connection
This commit is contained in:
parent
ddeb9dfe8e
commit
ff513d850a
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue