diff options
author | Paul "LeoNerd" Evans <paul@matrix.org> | 2016-09-09 13:31:17 +0100 |
---|---|---|
committer | Paul "LeoNerd" Evans <paul@matrix.org> | 2016-09-09 13:31:17 +0100 |
commit | 6eb0c8a2e46362f61d34a99416fed6b12055c368 (patch) | |
tree | c42a1a1cde31d5d9f7c979b14efeb5e50de21103 /synapse/rest/client/v2_alpha | |
parent | Efficiency fix for lookups of a single protocol (diff) | |
download | synapse-6eb0c8a2e46362f61d34a99416fed6b12055c368.tar.xz |
Python isn't JavaScript; have to quote dict keys
Diffstat (limited to 'synapse/rest/client/v2_alpha')
-rw-r--r-- | synapse/rest/client/v2_alpha/thirdparty.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/v2_alpha/thirdparty.py b/synapse/rest/client/v2_alpha/thirdparty.py index 6bf9eb10ae..d58385d5e5 100644 --- a/synapse/rest/client/v2_alpha/thirdparty.py +++ b/synapse/rest/client/v2_alpha/thirdparty.py @@ -61,7 +61,7 @@ class ThirdPartyProtocolServlet(RestServlet): if protocol in protocols: defer.returnValue((200, protocols[protocol])) else: - defer.returnValue((404, {error: "Unknown protocol"})) + defer.returnValue((404, {"error": "Unknown protocol"})) class ThirdPartyUserServlet(RestServlet): |