mirror of
https://github.com/element-hq/synapse.git
synced 2026-10-23 06:32:54 +00:00
Python isn't JavaScript; have to quote dict keys
This commit is contained in:
1 parent
25eb769b26
commit
6eb0c8a2e4
1 file changed
+1
-1
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user