Skip to content
Snippets Groups Projects
Commit 06bc8d2f authored by Ivan Shapovalov's avatar Ivan Shapovalov
Browse files

synapse/app: frontend_proxy.py: actually make workers work on py3

parent fb216a22
No related branches found
No related tags found
No related merge requests found
Synapse now starts on Python 3.7.
_All_ workers now start on Python 3.
......@@ -68,7 +68,7 @@ class PresenceStatusStubServlet(ClientV1RestServlet):
"Authorization": auth_headers,
}
result = yield self.http_client.get_json(
self.main_uri + request.uri,
self.main_uri + request.uri.decode('ascii'),
headers=headers,
)
defer.returnValue((200, result))
......@@ -125,7 +125,7 @@ class KeyUploadServlet(RestServlet):
"Authorization": auth_headers,
}
result = yield self.http_client.post_json_get_json(
self.main_uri + request.uri,
self.main_uri + request.uri.decode('ascii'),
body,
headers=headers,
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment