Skip to content

Commit 6b8d8a2

Browse files
committed
Allow users to pass this on sign-in
1 parent d20c877 commit 6b8d8a2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

plotly/plotly/plotly.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ def sign_in(username, api_key, **kwargs):
6767
_config['plotly_domain'] = kwargs.get('plotly_domain')
6868
_config['plotly_streaming_domain'] = kwargs.get('plotly_streaming_domain')
6969
_config['plotly_api_domain'] = kwargs.get('plotly_api_domain')
70+
_config['plotly_ssl_verification'] = kwargs.get('plotly_ssl_verification')
7071
# TODO: verify format of config options
7172

7273

@@ -141,7 +142,7 @@ def get_config():
141142
"""Returns either module config or file config."""
142143
config = tools.get_config_file()
143144
for config_key in config:
144-
if _config.get(config_key):
145+
if _config.get(config_key) is not None:
145146
config[config_key] = _config[config_key]
146147
return config
147148

0 commit comments

Comments
 (0)