mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 08:38:20 +08:00
Fix: Ignore global proxies in AzurStats upload
This commit is contained in:
@@ -118,6 +118,7 @@ class AzurStats:
|
||||
data = {'file': (filename, output, 'image/png')}
|
||||
headers = {'user-agent': self._user_agent}
|
||||
session = requests.Session()
|
||||
session.trust_env = False
|
||||
session.mount('http://', HTTPAdapter(max_retries=5))
|
||||
session.mount('https://', HTTPAdapter(max_retries=5))
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user