mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2025-12-15 14:22:55 +08:00
🚨 auto fix by pre-commit hooks
This commit is contained in:
parent
a1512922e5
commit
52abeff343
@ -52,12 +52,8 @@ def get_async_client(
|
||||
elif proxy:
|
||||
return httpx.AsyncClient(
|
||||
mounts={
|
||||
"http://": AsyncHTTPTransport(
|
||||
proxy=Proxy(proxy)
|
||||
),
|
||||
"https://": AsyncHTTPTransport(
|
||||
proxy=Proxy(proxy)
|
||||
),
|
||||
"http://": AsyncHTTPTransport(proxy=Proxy(proxy)),
|
||||
"https://": AsyncHTTPTransport(proxy=Proxy(proxy)),
|
||||
},
|
||||
transport=transport,
|
||||
**kwargs,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user