mirror of
https://github.com/lilydjwg/nvchecker.git
synced 2025-03-10 06:14:02 +00:00
aiohttp: enable proxy environment handling
This commit is contained in:
parent
f367d04287
commit
145af9f0e5
1 changed files with 1 additions and 0 deletions
|
@ -32,6 +32,7 @@ class BetterClientSession(aiohttp.ClientSession):
|
||||||
session = BetterClientSession(
|
session = BetterClientSession(
|
||||||
connector = connector,
|
connector = connector,
|
||||||
timeout = aiohttp.ClientTimeout(total=20),
|
timeout = aiohttp.ClientTimeout(total=20),
|
||||||
|
trust_env = True,
|
||||||
)
|
)
|
||||||
|
|
||||||
@atexit.register
|
@atexit.register
|
||||||
|
|
Loading…
Add table
Reference in a new issue