close cursor before close connection

This commit is contained in:
Nikos Kouremenos 2006-10-08 13:54:22 +00:00
parent ddeb9dfe8e
commit ff513d850a
1 changed files with 1 additions and 0 deletions

View File

@ -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')