execute not executescript
This commit is contained in:
parent
7ab63bed0f
commit
ddeb9dfe8e
1 changed files with 1 additions and 1 deletions
|
@ -342,7 +342,7 @@ class OptionsParser:
|
||||||
for show in status:
|
for show in status:
|
||||||
cur.execute('update logs set show = ? where show = ?;', (status[show],
|
cur.execute('update logs set show = ? where show = ?;', (status[show],
|
||||||
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.commit()
|
||||||
con.close()
|
con.close()
|
||||||
gajim.config.set('version', '0.10.1.5')
|
gajim.config.set('version', '0.10.1.5')
|
||||||
|
|
Loading…
Add table
Reference in a new issue