fix sql query
This commit is contained in:
parent
158231493a
commit
4bfd971415
|
@ -750,6 +750,6 @@ class Logger:
|
||||||
data = string.getvalue()
|
data = string.getvalue()
|
||||||
sql = '''
|
sql = '''
|
||||||
INSERT INTO caps_cache ( node, ver, ext, data )
|
INSERT INTO caps_cache ( node, ver, ext, data )
|
||||||
VALUES (?, ?, ?, ?);
|
VALUES (%s, %s, %s, %s);
|
||||||
''', (node, ver, ext, buffer(data)) # (1) -- note above
|
''' % (node, ver, ext, buffer(data)) # (1) -- note above
|
||||||
self.simple_commit(sql)
|
self.simple_commit(sql)
|
||||||
|
|
Loading…
Reference in New Issue