Skip to content

Commit

Permalink
Default changed to string.
Browse files Browse the repository at this point in the history
Signed-off-by: DerekRushton <[email protected]>
  • Loading branch information
DerekRushton committed Aug 26, 2024
1 parent 51a1a0c commit 063e62a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 063e62a

Please sign in to comment.