summary refs log tree commit diff
path: root/synapse/rest/client/v2_alpha
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/rest/client/v2_alpha')
-rw-r--r--synapse/rest/client/v2_alpha/thirdparty.py2
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):