Skip to content

Commit 7101edf

Browse files
authored
Merge pull request #472 from superannotateai/client_init_ssl_fix
Fix ssl_verify env variable read
2 parents a047e1d + f507cc1 commit 7101edf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/superannotate/lib/app/interface/base_interface.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def __init__(self, token: str = None, config_path: str = None):
2626
version = os.environ.get("SA_VERSION", "v1")
2727
_token, _config_path = None, None
2828
_host = os.environ.get("SA_URL", constants.BACKEND_URL)
29-
_ssl_verify = os.environ.get("SA_SSL", "True") in ("false", "f", "0")
29+
_ssl_verify = not os.environ.get("SA_SSL", "True").lower() in ("false", "f", "0")
3030
if token:
3131
_token = Controller.validate_token(token=token)
3232
elif config_path:

0 commit comments

Comments
 (0)