Fix bug where assumed dict was namedtuple

This commit is contained in:
Erik Johnston 2015-11-12 14:06:31 +00:00
parent 473a239d83
commit 39de87869c
1 changed files with 1 additions and 1 deletions

View File

@ -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