Ensure tuple is passed as bind params
This commit is contained in:
parent
2c5018db9b
commit
aeb32934ac
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ class Session():
|
|||
newsgroup_id = ?
|
||||
"""
|
||||
|
||||
cr = self.db.execute(sql, (newsgroup.id))
|
||||
cr = self.db.execute(sql, (newsgroup.id,))
|
||||
row = cr.fetchone()
|
||||
|
||||
text = "%d %d %d %s" % (
|
||||
|
|
Loading…
Add table
Reference in a new issue