diff options
author | Erik Johnston <erik@matrix.org> | 2015-11-12 14:06:31 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-11-12 14:47:48 +0000 |
commit | 39de87869c9ad966f382e597986e860d03f3fef2 (patch) | |
tree | fda66791ac1a5caf50c48c0d0b8ee55adf9ec10c /synapse/storage/transactions.py | |
parent | Merge pull request #364 from matrix-org/daniel/guestdisplaynames (diff) | |
download | synapse-39de87869c9ad966f382e597986e860d03f3fef2.tar.xz |
Fix bug where assumed dict was namedtuple
Diffstat (limited to '')
-rw-r--r-- | synapse/storage/transactions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/transactions.py b/synapse/storage/transactions.py index 4e0d7c9774..ad099775eb 100644 --- a/synapse/storage/transactions.py +++ b/synapse/storage/transactions.py @@ -59,7 +59,7 @@ class TransactionStore(SQLBaseStore): allow_none=True, ) - if result and result.response_code: + if result and result["response_code"]: return result["response_code"], result["response_json"] else: return None |