Skip to content

Commit 9c55495

Browse files
committed
changed kwargs to args for get_config_file
1 parent 1235039 commit 9c55495

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
@@ -226,8 +226,8 @@ def set_config_file(plotly_domain=None,
226226
ensure_local_plotly_files() # make sure what we just put there is OK
227227

228228

229-
def get_config_file(**kwargs):
230-
"""Return specified args from `~/.plotly/.config`. as dict.
229+
def get_config_file(*args):
230+
"""Return specified args from `~/.plotly/.config`. as tuple.
231231
232232
Returns all if no arguments are specified.
233233
@@ -237,7 +237,7 @@ def get_config_file(**kwargs):
237237
"""
238238
if _file_permissions:
239239
ensure_local_plotly_files() # make sure what's there is OK
240-
return utils.load_json_dict(CONFIG_FILE, **kwargs)
240+
return utils.load_json_dict(CONFIG_FILE, *args)
241241
else:
242242
return _FILE_CONTENT[CONFIG_FILE]
243243

0 commit comments

Comments
 (0)