PR feedbackz

This commit is contained in:
Matthew Hodgson 2018-03-13 18:07:55 +00:00
parent 1b1c137771
commit 52f7e23c72

View File

@ -240,10 +240,9 @@ class StateGroupWorkerStore(SQLBaseStore):
(
"AND type = ? AND state_key = ?",
(etype, state_key)
) if state_key is not None else
(
) if state_key is not None else (
"AND type = ?",
(etype)
(etype,)
)
for etype, state_key in types
]