proxy support test

This commit is contained in:
Nils Büchner 2024-09-18 21:20:41 +02:00
parent 45a8cad486
commit 744c8d1b8b

View file

@ -55,6 +55,7 @@ class InviteChecker:
# Fetch proxy from the environment variable
https_proxy = os.getenv('https_proxy')
headers = None # Initialize headers to None
if https_proxy:
logger.info(f"Using HTTPS proxy: {https_proxy}")