Skip to content
Snippets Groups Projects
Commit ddeb9dfe authored by nkour's avatar nkour
Browse files

execute not executescript

parent 7ab63bed
No related branches found
No related tags found
No related merge requests found
......@@ -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')
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment