Fix keyword argument name
This commit is contained in:
parent
271cfe06b1
commit
d8c64c5e3a
|
@ -875,7 +875,7 @@ def check(path=None):
|
|||
|
||||
hadproblem = False
|
||||
try:
|
||||
main_config = load_json_config(search_paths, 'config', load=load_config, open=open_file)
|
||||
main_config = load_json_config(search_paths, 'config', load=load_config, open_file=open_file)
|
||||
except IOError:
|
||||
main_config = {}
|
||||
sys.stderr.write('\nConfiguration file not found: config.json\n')
|
||||
|
@ -891,7 +891,7 @@ def check(path=None):
|
|||
import_paths = [os.path.expanduser(path) for path in main_config.get('common', {}).get('paths', [])]
|
||||
|
||||
try:
|
||||
colors_config = load_json_config(search_paths, 'colors', load=load_config, open=open_file)
|
||||
colors_config = load_json_config(search_paths, 'colors', load=load_config, open_file=open_file)
|
||||
except IOError:
|
||||
colors_config = {}
|
||||
sys.stderr.write('\nConfiguration file not found: colors.json\n')
|
||||
|
|
Loading…
Reference in New Issue