From bf51d2ffc7840af0f7f7d7c34fa469e2bff0ed33 Mon Sep 17 00:00:00 2001 From: "Olivier Wilkinson (reivilibre)" Date: Thu, 27 Aug 2020 09:10:07 +0100 Subject: [PATCH] Also fix `simple_select_onecol_txn` --- synapse/storage/database.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synapse/storage/database.py b/synapse/storage/database.py index 207fa9d7df..53858db9a3 100644 --- a/synapse/storage/database.py +++ b/synapse/storage/database.py @@ -1120,7 +1120,7 @@ class DatabasePool(object): txn: LoggingTransaction, table: str, keyvalues: Dict[str, Any], - retcol: Iterable[str], + retcol: str, ) -> List[Any]: sql = ("SELECT %(retcol)s FROM %(table)s") % {"retcol": retcol, "table": table}