proxy support test
This commit is contained in:
parent
45a8cad486
commit
744c8d1b8b
1 changed files with 1 additions and 0 deletions
|
@ -55,6 +55,7 @@ class InviteChecker:
|
||||||
|
|
||||||
# Fetch proxy from the environment variable
|
# Fetch proxy from the environment variable
|
||||||
https_proxy = os.getenv('https_proxy')
|
https_proxy = os.getenv('https_proxy')
|
||||||
|
headers = None # Initialize headers to None
|
||||||
|
|
||||||
if https_proxy:
|
if https_proxy:
|
||||||
logger.info(f"Using HTTPS proxy: {https_proxy}")
|
logger.info(f"Using HTTPS proxy: {https_proxy}")
|
||||||
|
|
Loading…
Reference in a new issue