1
0

Fix startup error when http proxy is defined. (#6421)

* commit 'ef1a85e77':
  Fix startup error when http proxy is defined. (#6421)
This commit is contained in:
Andrew Morgan
2020-03-18 16:34:53 +00:00
3 changed files with 5 additions and 4 deletions

View File

@@ -321,8 +321,8 @@ class HomeServer(object):
def build_proxied_http_client(self):
return SimpleHttpClient(
self,
http_proxy=os.getenv("http_proxy"),
https_proxy=os.getenv("HTTPS_PROXY"),
http_proxy=os.getenvb(b"http_proxy"),
https_proxy=os.getenvb(b"HTTPS_PROXY"),
)
def build_room_creation_handler(self):