aiohttp: enable proxy environment handling

This commit is contained in:
lilydjwg 2020-07-29 15:49:06 +08:00
parent f367d04287
commit 145af9f0e5

View File

@ -32,6 +32,7 @@ class BetterClientSession(aiohttp.ClientSession):
session = BetterClientSession(
connector = connector,
timeout = aiohttp.ClientTimeout(total=20),
trust_env = True,
)
@atexit.register