Skip to content

Commit

Permalink
Fixed tox issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Gallo committed May 10, 2024
1 parent 97d34f7 commit c753641
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion SoftLayer/CLI/login.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
from SoftLayer.CLI.command import SLCommand as SLCommand
from SoftLayer.CLI import environment
from SoftLayer import config
from SoftLayer import consts


def censor_password(value):
Expand Down
2 changes: 1 addition & 1 deletion SoftLayer/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def get_client_settings_config_file(**kwargs): # pylint: disable=inconsistent-r
r_config["verify"] = True
elif r_config["verify"].lower() == "false":
r_config["verify"] = False
elif r_config["verify"]:
elif isinstance(r_config["verify"], str):
os.environ['SSL_CERT_FILE'] = r_config["verify"]
return r_config

Expand Down

0 comments on commit c753641

Please sign in to comment.