mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-14 17:03:50 +01:00
fix sql fails
This commit is contained in:
parent
2908f955d1
commit
6b48b3e277
1 changed files with 1 additions and 1 deletions
|
@ -608,7 +608,7 @@ class SQLBaseStore(object):
|
|||
}
|
||||
|
||||
if keyvalues:
|
||||
sql += "WHERE %s" % " AND ".join("%s = ?" % k for k in keyvalues.iterkeys())
|
||||
sql += " WHERE %s" % " AND ".join("%s = ?" % k for k in keyvalues.iterkeys())
|
||||
txn.execute(sql, keyvalues.values())
|
||||
else:
|
||||
txn.execute(sql)
|
||||
|
|
Loading…
Reference in a new issue