mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-15 23:33:48 +01:00
Python isn't JavaScript; have to quote dict keys
This commit is contained in:
parent
25eb769b26
commit
6eb0c8a2e4
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ class ThirdPartyProtocolServlet(RestServlet):
|
||||||
if protocol in protocols:
|
if protocol in protocols:
|
||||||
defer.returnValue((200, protocols[protocol]))
|
defer.returnValue((200, protocols[protocol]))
|
||||||
else:
|
else:
|
||||||
defer.returnValue((404, {error: "Unknown protocol"}))
|
defer.returnValue((404, {"error": "Unknown protocol"}))
|
||||||
|
|
||||||
|
|
||||||
class ThirdPartyUserServlet(RestServlet):
|
class ThirdPartyUserServlet(RestServlet):
|
||||||
|
|
Loading…
Reference in a new issue