Use merge_config for defaults and user config
@@ -69,8 +69,7 @@ def get_config(config_path):
''.format(config_path, e)
)
- config_dict = copy.copy(DEFAULT_CONFIG)
- config_dict.update(yaml_dict)
+ config_dict = merge_config(copy.copy(DEFAULT_CONFIG), yaml_dict)
raw_replay_dir = config_dict['replay_dir']
config_dict['replay_dir'] = _expand_path(raw_replay_dir)
