Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7b71be9

Browse files
committed
spelling fix
1 parent c347532 commit 7b71be9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

plotly/tools.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ def reset_credentials_file():
138138

139139
### config tools ###
140140

141-
def set_config_file(plotly_domain=None, plotly_stremaing_domain=None):
141+
def set_config_file(plotly_domain=None, plotly_streaming_domain=None):
142142
"""Set the keyword-value pairs in `~/.plotly/.config`.
143143
144144
"""
@@ -149,8 +149,8 @@ def set_config_file(plotly_domain=None, plotly_stremaing_domain=None):
149149
settings = get_config_file()
150150
if isinstance(plotly_domain, (str, unicode)):
151151
settings['plotly_domain'] = plotly_domain
152-
if isinstance(plotly_stremaing_domain, (str, unicode)):
153-
settings['plotly_streaming_domain'] = plotly_stremaing_domain
152+
if isinstance(plotly_streaming_domain, (str, unicode)):
153+
settings['plotly_streaming_domain'] = plotly_streaming_domain
154154
utils.save_json_dict(CONFIG_FILE, settings)
155155
ensure_local_plotly_files() # make sure what we just put there is OK
156156

0 commit comments

Comments
 (0)