diff options
author | Erik Johnston <erik@matrix.org> | 2014-08-15 10:26:35 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2014-08-15 10:26:35 +0100 |
commit | 5002efa31bb57a92b87b9d7319641d9b5a2a6047 (patch) | |
tree | 48a7c9561b43f807c14332505486c7d6129b830a /synapse/storage/_base.py | |
parent | Fix up typos and correct sql queries (diff) | |
download | synapse-5002efa31bb57a92b87b9d7319641d9b5a2a6047.tar.xz |
Reimplement the get public rooms api to work with new DB schema
Diffstat (limited to 'synapse/storage/_base.py')
-rw-r--r-- | synapse/storage/_base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/_base.py b/synapse/storage/_base.py index c8ec63f30a..c26e9a0f98 100644 --- a/synapse/storage/_base.py +++ b/synapse/storage/_base.py @@ -68,7 +68,7 @@ class SQLBaseStore(object): if decoder: return decoder(cursor) else: - return cursor + return cursor.fetchall() return self._db_pool.runInteraction(interaction) |