From 063e62a5c9c393f8b21bc71bb000e0246bb204e3 Mon Sep 17 00:00:00 2001 From: DerekRushton Date: Mon, 26 Aug 2024 12:13:05 -0300 Subject: [PATCH] Default changed to string. Signed-off-by: DerekRushton --- .../stix_transmission/utils/RestApiClientAsync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stix_shifter_utils/stix_transmission/utils/RestApiClientAsync.py b/stix_shifter_utils/stix_transmission/utils/RestApiClientAsync.py index 54c827531..b14a146ea 100644 --- a/stix_shifter_utils/stix_transmission/utils/RestApiClientAsync.py +++ b/stix_shifter_utils/stix_transmission/utils/RestApiClientAsync.py @@ -61,7 +61,7 @@ def __init__(self, host, port=None, headers={}, url_modifier_function=None, cert #To enable proxy, set the environment variable "STIX_SHIFTER_ENABLE_TRUST_ENV" to true. This option will allow the connection #to use the system environments proxy settings. This can be done by setting the "https_proxy" environment variable to #"http(s)://[username]:[password]@[hostname]/[ipaddress]:[port]". Alternative proxy schema's may or may not work. - self.trust_env_enabled = os.environ.get("STIX_SHIFTER_ENABLE_TRUST_ENV", False).lower() + self.trust_env_enabled = os.environ.get("STIX_SHIFTER_ENABLE_TRUST_ENV", "False").lower() if self.trust_env_enabled == "true": self.trust_env_enabled = True else: