Fix keyword argument name

This commit is contained in:
ZyX 2013-03-13 07:33:47 +04:00
parent 271cfe06b1
commit d8c64c5e3a
1 changed files with 2 additions and 2 deletions

View File

@ -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')