mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-01 18:36:10 -04:00
Fix startup error when http proxy is defined. (#6421)
Guess I only tested this on python 2 :/ Fixes #6419.
This commit is contained in:
parent
f085894cd1
commit
ef1a85e773
3 changed files with 5 additions and 4 deletions
|
@ -318,8 +318,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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue